Skip to content

Commit

Permalink
add outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 24, 2021
1 parent acbd402 commit da3a419
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,10 @@ No modules.

## Outputs

No outputs.
| Name | Description |
|------|-------------|
| <a name="output_config_s3_bucket_arn"></a> [config\_s3\_bucket\_arn](#output\_config\_s3\_bucket\_arn) | S3 ARN for Config |
| <a name="output_config_s3_bucket_id"></a> [config\_s3\_bucket\_id](#output\_config\_s3\_bucket\_id) | S3 ID for Config |
| <a name="output_config_sns_topic_arn"></a> [config\_sns\_topic\_arn](#output\_config\_sns\_topic\_arn) | SNS ARN for Config |
| <a name="output_config_sqs_arn"></a> [config\_sqs\_arn](#output\_config\_sqs\_arn) | SQS ARN for Config |
| <a name="output_config_sqs_id"></a> [config\_sqs\_id](#output\_config\_sqs\_id) | SQS ID for Config (URL) |
24 changes: 24 additions & 0 deletions config/outputs.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
output "config_s3_bucket_arn" {
description = "S3 ARN for Config"
value = aws_s3_bucket.config.arn
}

output "config_s3_bucket_id" {
description = "S3 ID for Config"
value = aws_s3_bucket.config.id
}

output "config_sns_topic_arn" {
description = "SNS ARN for Config"
value = aws_sns_topic.config.arn
}

output "config_sqs_arn" {
description = "SQS ARN for Config"
value = aws_sqs_queue.config.arn
}

output "config_sqs_id" {
description = "SQS ID for Config (URL)"
value = aws_sqs_queue.config.id
}

0 comments on commit da3a419

Please sign in to comment.