Provides information about a MQ Broker.
variable "broker_id" {
type = string
default = ""
}
variable "broker_name" {
type = string
default = ""
}
data "aws_mq_broker" "by_id" {
broker_id = var.broker_id
}
data "aws_mq_broker" "by_name" {
broker_name = var.broker_name
}
This data source supports the following arguments:
broker_id
- (Optional) Unique id of the mq broker.broker_name
- (Optional) Unique name of the mq broker.See the aws_mq_broker
resource for details on the returned attributes.
They are identical except for user password, which is not returned when describing broker.