Skip to content

frostmoln_messaging_instance (Data Source)

Look up a managed messaging (LavinMQ) instance by ID.

Example Usage

terraform
data "frostmoln_messaging_instance" "broker" {
  id = "mq-abc123"
}

output "messaging_private_ip" {
  value = data.frostmoln_messaging_instance.broker.private_ip
}

output "messaging_amqp_port" {
  value = data.frostmoln_messaging_instance.broker.port
}

output "messaging_amqps_port" {
  value = data.frostmoln_messaging_instance.broker.amqps_port
}

output "messaging_management_port" {
  value = data.frostmoln_messaging_instance.broker.management_port
}

Schema

Required

  • id (String) The unique identifier of the messaging instance.

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.
  • engine (String) The messaging engine type (e.g. "lavinmq").
  • flavor_id (String) The flavor/size of the messaging instance.
  • management_port (Number) The HTTP management/API port number the messaging instance is listening on.
  • name (String) The name of the messaging instance.
  • persistence_mode (String) The persistence mode of the messaging instance.
  • 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.
  • subnet_id (String) The subnet ID where the messaging instance is deployed.
  • updated_at (String) The timestamp when the instance was last updated.
  • version (String) The engine version.
  • vpc_id (String) The VPC ID where the messaging instance is deployed.