terraform-modules/rabbitmq/variables.tf
2025-05-06 09:30:27 +02:00

94 lines
2.7 KiB
HCL

variable "stackit_project_id" {
description = "ID of the stackit Project"
type = string
}
variable "instance_name" {
description = "name of the rabbitmq instance"
type = string
}
variable "service_plan" {
description = "serviceplan of the rabbitmq instance"
type = string
}
variable "rabbitmq_version" {
description = "version of the rabbitmq instance"
type = string
}
variable "rabbitmq_parameters" {
description = "Optional advanced Rabbitmq parameters"
type = object({
sgw_acl = optional(string)
enable_monitoring = optional(bool)
consumer_timeout = optional(number)
plugins = optional(list(string))
})
}
#// Optional parameters
#variable "rabbitmq_consumer_timeout" {
# description = "The timeout for the consumer in milliseconds."
# type = number
#}
#
#variable "rabbitmq_enable_monitoring" {
# description = "Enable monitoring for the RabbitMQ instance."
# type = bool
#}
#
#variable "rabbitmq_sgw_acl" {
# description = "Comma separated list of IP networks in CIDR notation which are allowed to access this instance."
# type = string
#}
#variable "rabbitmq_plugins" {
# description = "A list of plugins to install on the RabbitMQ instance."
# type = list(string)
#}
#variable "graphite" {
# description = "Graphite server URL (host and port). If set, monitoring with Graphite will be enabled."
# type = string
#}
#
#variable "max_disk_threshold" {
# description = "Maximum disk usage threshold in MB. If the disk usage exceeds this threshold, the RabbitMQ instance will be stopped."
# type = number
#}
#
#variable "metrics_frequency" {
# description = "The frequency in seconds at which metrics are emitted."
# type = number
#}
#
#variable "metrics_prefix" {
# description = "The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key."
# type = string
#}
#
#variable "monitoring_instance_id" {
# description = "The ID of the STACKIT monitoring instance."
# type = string
#}
#
#variable "roles" {
# description = "A list of roles to assign to the RabbitMQ instance."
# type = list(string)
#}
#
#variable "syslog" {
# description = "List of syslog servers to send logs to. Syslog server URL (host and port). If set, logging with Syslog will be enabled."
# type = list(string)
#}
#
#variable "tls_ciphers" {
# description = "Comma separated list of TLS ciphers to use for secure connections."
# type = list(string)
#}
#
#variable "tls_protocol" {
# description = "TLS protocol to use for secure connections."
# type = string
#}