-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add output descriptions * Remove unused var from docs
- Loading branch information
Showing
4 changed files
with
42 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,89 @@ | ||
output "broker_id" { | ||
value = "${join("", aws_mq_broker.default.*.id)}" | ||
value = "${join("", aws_mq_broker.default.*.id)}" | ||
description = "AmazonMQ broker ID" | ||
} | ||
|
||
output "broker_arn" { | ||
value = "${join("", aws_mq_broker.default.*.arn)}" | ||
value = "${join("", aws_mq_broker.default.*.arn)}" | ||
description = "AmazonMQ broker ARN" | ||
} | ||
|
||
output "primary_console_url" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.console_url, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.console_url, list("")), 0)}" | ||
description = "AmazonMQ active web console URL" | ||
} | ||
|
||
output "primary_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.0, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.0, list("")), 0)}" | ||
description = "AmazonMQ primary SSL endpoint" | ||
} | ||
|
||
output "primary_ampq_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.1, list("")), 0)}" | ||
output "primary_amqp_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.1, list("")), 0)}" | ||
description = "AmazonMQ primary AMQP+SSL endpoint" | ||
} | ||
|
||
output "primary_stomp_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.2, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.2, list("")), 0)}" | ||
description = "AmazonMQ primary STOMP+SSL endpoint" | ||
} | ||
|
||
output "primary_mqtt_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.3, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.3, list("")), 0)}" | ||
description = "AmazonMQ primary MQTT+SSL endpoint" | ||
} | ||
|
||
output "primary_wss_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.4, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.endpoints.4, list("")), 0)}" | ||
description = "AmazonMQ primary WSS endpoint" | ||
} | ||
|
||
output "primary_ip_address" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.ip_address, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.0.ip_address, list("")), 0)}" | ||
description = "AmazonMQ primary IP address" | ||
} | ||
|
||
output "secondary_console_url" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.console_url, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.console_url, list("")), 0)}" | ||
description = "AmazonMQ secondary web console URL" | ||
} | ||
|
||
output "secondary_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.0, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.0, list("")), 0)}" | ||
description = "AmazonMQ secondary SSL endpoint" | ||
} | ||
|
||
output "secondary_ampq_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.1, list("")), 0)}" | ||
output "secondary_amqp_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.1, list("")), 0)}" | ||
description = "AmazonMQ secondary AMQP+SSL endpoint" | ||
} | ||
|
||
output "secondary_stomp_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.2, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.2, list("")), 0)}" | ||
description = "AmazonMQ secondary STOMP+SSL endpoint" | ||
} | ||
|
||
output "secondary_mqtt_ssl_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.3, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.3, list("")), 0)}" | ||
description = "AmazonMQ secondary MQTT+SSL endpoint" | ||
} | ||
|
||
output "secondary_wss_endpoint" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.4, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.endpoints.4, list("")), 0)}" | ||
description = "AmazonMQ secondary WSS endpoint" | ||
} | ||
|
||
output "secondary_ip_address" { | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.ip_address, list("")), 0)}" | ||
value = "${element(concat(aws_mq_broker.default.*.instances.1.ip_address, list("")), 0)}" | ||
description = "AmazonMQ secondary IP address" | ||
} | ||
|
||
output "admin_username" { | ||
value = "${local.mq_admin_user}" | ||
value = "${local.mq_admin_user}" | ||
description = "AmazonMQ admin username" | ||
} | ||
|
||
output "application_username" { | ||
value = "${local.mq_application_user}" | ||
value = "${local.mq_application_user}" | ||
description = "AmazonMQ application username" | ||
} |