Skip to content

Commit

Permalink
Add an output for the Lambda artifacts bucket
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas McDonnell <[email protected]>
  • Loading branch information
dav3r and mcdonnnj committed Sep 23, 2024
1 parent 0795de6 commit 2b8140d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ changes by simply running `terraform apply -var-file=<workspace_name>.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. |
<!-- END_TF_DOCS -->
Expand Down
5 changes: 5 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b8140d

Please sign in to comment.