frostmoln_messaging_vhost (Data Source)
Look up a vhost on a managed messaging (LavinMQ) instance by name.
Example Usage
terraform
data "frostmoln_messaging_vhost" "orders" {
instance_id = "mq_B352H9idUJP6jTWtom31nW"
name = "orders"
}
output "orders_vhost_status" {
value = data.frostmoln_messaging_vhost.orders.status
}Schema
Required
instance_id(String) The id of the messaging instance.name(String) The vhost's name.
Read-Only
created_at(String) When the vhost was created.failure_message(String) The last failed change's reason in words, or null.failure_reason(String) The stable code of the vhost's last failed change, or null.id(String) The vhost's id,<instance_id>/<name>.status(String) The vhost's status:pending,ready,deletingorerror.updated_at(String) When the vhost last changed.