mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
109 lines
2.6 KiB
HCL
109 lines
2.6 KiB
HCL
variable "environment" {
|
|
description = "Target environment name."
|
|
type = string
|
|
}
|
|
|
|
variable "management_endpoint" {
|
|
description = "RabbitMQ Management API endpoint, for example http://rabbitmq.rabbitmq.svc.cluster.local:15672."
|
|
type = string
|
|
}
|
|
|
|
variable "management_username" {
|
|
description = "RabbitMQ admin username for Management API."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "management_password" {
|
|
description = "RabbitMQ admin password for Management API."
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "amqp_host" {
|
|
description = "RabbitMQ AMQP host published to generated Kubernetes secrets."
|
|
type = string
|
|
default = "rabbitmq.rabbitmq.svc.cluster.local"
|
|
}
|
|
|
|
variable "amqp_port" {
|
|
description = "RabbitMQ AMQP port published to generated Kubernetes secrets."
|
|
type = number
|
|
default = 5672
|
|
}
|
|
|
|
variable "rabbitmq_policy" {
|
|
description = "Platform policy for RabbitMQ declarations."
|
|
type = object({
|
|
allow_create = optional(bool, true)
|
|
allow_delete = optional(bool, false)
|
|
})
|
|
default = {}
|
|
}
|
|
|
|
variable "vhosts" {
|
|
description = "RabbitMQ vhosts declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "users" {
|
|
description = "RabbitMQ users declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "permissions" {
|
|
description = "RabbitMQ permissions declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "topic_permissions" {
|
|
description = "RabbitMQ topic permissions declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "exchanges" {
|
|
description = "RabbitMQ exchanges declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "queues" {
|
|
description = "RabbitMQ queues declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "bindings" {
|
|
description = "RabbitMQ bindings declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "policies" {
|
|
description = "RabbitMQ policies declared in infrastructure.yaml."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "unmanaged_output_users" {
|
|
description = "Existing RabbitMQ users intentionally not managed, kept only for output compatibility."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "unmanaged_output_permissions" {
|
|
description = "Existing RabbitMQ user/vhost pairs intentionally not managed, kept only for output compatibility."
|
|
type = any
|
|
default = []
|
|
}
|
|
|
|
variable "default_user_password_length" {
|
|
description = "Default generated RabbitMQ user password length."
|
|
type = number
|
|
default = 32
|
|
}
|