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 = list(any) default = [] } variable "users" { description = "RabbitMQ users declared in infrastructure.yaml." type = list(any) default = [] } variable "permissions" { description = "RabbitMQ permissions declared in infrastructure.yaml." type = list(any) default = [] } variable "exchanges" { description = "RabbitMQ exchanges declared in infrastructure.yaml." type = list(any) default = [] } variable "queues" { description = "RabbitMQ queues declared in infrastructure.yaml." type = list(any) default = [] } variable "bindings" { description = "RabbitMQ bindings declared in infrastructure.yaml." type = list(any) default = [] } variable "policies" { description = "RabbitMQ policies declared in infrastructure.yaml." type = list(any) default = [] } variable "default_user_password_length" { description = "Default generated RabbitMQ user password length." type = number default = 32 }