Skip to content

Commit

Permalink
add output for broker IDs (#2)
Browse files Browse the repository at this point in the history
* add output for broker IDs

* just list all info

* update readme

* pre commit config
  • Loading branch information
m477r1x authored Mar 28, 2023
1 parent 21c0a7b commit 0576070
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
args: ['--allow-missing-credentials']
- id: trailing-whitespace
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.77.0
rev: v1.77.1
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module "mq" {

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.60.0 |

## Modules

Expand Down Expand Up @@ -80,6 +80,7 @@ No modules.
|------|-------------|
| <a name="output_broker_arn"></a> [broker\_arn](#output\_broker\_arn) | AmazonMQ broker ARN. |
| <a name="output_broker_id"></a> [broker\_id](#output\_broker\_id) | AmazonMQ broker ID. |
| <a name="output_broker_instances"></a> [broker\_instances](#output\_broker\_instances) | AmazonMQ broker instances details. |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

## License
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ output "broker_arn" {
value = aws_mq_broker.main.arn
description = "AmazonMQ broker ARN."
}

output "broker_instances" {
value = aws_mq_broker.main.instances
description = "AmazonMQ broker instances details."
}

0 comments on commit 0576070

Please sign in to comment.