Skip to content

frostmoln_messaging_user (Data Source) ​

Look up an application user on a managed messaging (LavinMQ) instance by name. It does not expose the password: manage the user with frostmoln_messaging_user to read it.

Example Usage ​

terraform
# The data source never exposes the password: manage the user with
# frostmoln_messaging_user to read it.
data "frostmoln_messaging_user" "billing" {
  instance_id = "mq_B352H9idUJP6jTWtom31nW"
  name        = "billing-app"
}

output "billing_user_status" {
  value = data.frostmoln_messaging_user.billing.status
}

Schema ​

Required ​

  • instance_id (String) The id of the messaging instance.
  • name (String) The user's name.

Read-Only ​

  • created_at (String) When the user was created.
  • failure_message (String) The last failed change's reason in words, or null.
  • failure_reason (String) The stable code of the user's last failed change, or null.
  • id (String) The user's id, <instance_id>/<name>.
  • status (String) The user's status: pending, ready, deleting or error.
  • updated_at (String) When the user last changed.