frostmoln_messaging_permission (Data Source)
Look up one application user's permission on one vhost of a managed messaging (LavinMQ) instance.
Example Usage
terraform
data "frostmoln_messaging_permission" "billing_orders" {
instance_id = "mq_B352H9idUJP6jTWtom31nW"
user = "billing-app"
vhost = "orders"
}
output "billing_orders_read" {
value = data.frostmoln_messaging_permission.billing_orders.read
}Schema
Required
instance_id(String) The id of the messaging instance.user(String) The user's name.vhost(String) The vhost's name.
Read-Only
configure(String) The configure regex the broker was last given: at most 255 bytes, never starting with-;^$grants nothing.created_at(String) When the permission was created.failure_message(String) The last failed change's reason in words, or null.failure_reason(String) The stable code of the permission's last failed change, or null.id(String) The permission's id,<instance_id>/<user>/<vhost>.read(String) The read regex the broker was last given: at most 255 bytes, never starting with-;^$grants nothing.status(String) The permission's status:pending,ready,deletingorerror.updated_at(String) When the permission last changed.write(String) The write regex the broker was last given: at most 255 bytes, never starting with-;^$grants nothing.