From 8dd7eda6baceebd60ac8d3fa00c87943141612b5 Mon Sep 17 00:00:00 2001 From: David Redmin Date: Mon, 23 Sep 2024 11:12:35 -0400 Subject: [PATCH] Add an output for the Lambda artifacts bucket Co-authored-by: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 8179589..2921ae8 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ changes by simply running `terraform apply -var-file=.tfvars`. | Name | Description | |------|-------------| | cw\_alarm\_sns\_topic | The SNS topic to which a message is sent when a CloudWatch alarm is triggered. | +| lambda\_artifacts\_bucket | The S3 bucket in the Cyber Hygiene account where Lambda artifacts are stored. | | provisionaccount\_role | The IAM role that allows sufficient permissions to provision all AWS resources in the Cyber Hygiene account. | | ssm\_session\_role | An IAM role that allows creation of SSM SessionManager sessions to any EC2 instance in this account. | diff --git a/outputs.tf b/outputs.tf index 9eae919..5d62c78 100644 --- a/outputs.tf +++ b/outputs.tf @@ -3,6 +3,11 @@ output "cw_alarm_sns_topic" { value = module.cw_alarm_sns.sns_topic } +output "lambda_artifacts_bucket" { + description = "The S3 bucket in the Cyber Hygiene account where Lambda artifacts are stored." + value = aws_s3_bucket.lambda_artifacts +} + output "provisionaccount_role" { description = "The IAM role that allows sufficient permissions to provision all AWS resources in the Cyber Hygiene account." value = module.provisionaccount.provisionaccount_role