frostmoln_messaging_instance (Resource)
Manages a managed messaging (LavinMQ) instance in the Frostmoln platform.
Example Usage
terraform
resource "frostmoln_messaging_instance" "broker" {
name = "my-broker"
engine = "lavinmq"
version = "2.3"
flavor_id = "mq.gp1.small"
vpc_id = frostmoln_vpc.main.id
subnet_id = frostmoln_subnet.private.id
persistence_mode = "persistent"
}Schema
Required
flavor_id(String) The flavor/size for the messaging instance (e.g. "mq.gp1.small", "mq.gp1.medium").name(String) The name of the messaging instance.subnet_id(String) The subnet ID where the messaging instance will be deployed.vpc_id(String) The VPC ID where the messaging instance will be deployed.
Optional
engine(String) The messaging engine type. Only "lavinmq" is currently supported. Defaults to "lavinmq".persistence_mode(String) The persistence mode for the messaging instance ("none" or "persistent"). Defaults to "persistent".version(String) The engine version (e.g. "2.3"). Defaults to the recommended version when omitted.
Read-Only
amqps_port(Number) The AMQPS (TLS) port number the messaging instance is listening on.created_at(String) The timestamp when the instance was created.id(String) The unique identifier of the messaging instance.management_port(Number) The HTTP management/API port number the messaging instance is listening on.port(Number) The AMQP port number the messaging instance is listening on.private_ip(String) The private IP address of the messaging instance.status(String) The current status of the messaging instance.updated_at(String) The timestamp when the instance was last updated.