44 lines
956 B
HCL
44 lines
956 B
HCL
variable "tenant_name" {
|
|
description = "Name of the tenant (used for vhost name and username)"
|
|
type = string
|
|
}
|
|
|
|
variable "admin_username" {
|
|
description = "RabbitMQ admin username"
|
|
type = string
|
|
}
|
|
|
|
variable "admin_password" {
|
|
description = "RabbitMQ admin password"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "server_ip" {
|
|
description = "VPS server IP address"
|
|
type = string
|
|
}
|
|
|
|
variable "ssh_user" {
|
|
description = "SSH user for connecting to VPS"
|
|
type = string
|
|
default = "fourlights"
|
|
}
|
|
|
|
variable "ssh_private_key_path" {
|
|
description = "Path to SSH private key for authentication"
|
|
type = string
|
|
default = "~/.ssh/id_rsa"
|
|
}
|
|
|
|
variable "target_port" {
|
|
description = "RabbitMQ Management API port on VPS"
|
|
type = number
|
|
default = 15672
|
|
}
|
|
|
|
variable "wait_on" {
|
|
description = "Resources to wait on before creating tenant"
|
|
type = any
|
|
default = null
|
|
} |