Skip to content

Commit

Permalink
Merge pull request #2 from 3scale-ops/feat/pin-s3-module-version
Browse files Browse the repository at this point in the history
Bug/Pin aws s3 module version to current latest v2.9.0
  • Loading branch information
3scale-robot authored Sep 7, 2021
2 parents 809b4f1 + 8e90394 commit 4209c0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module "config_label" {
## Config bucket
module "config_bucket" {
source = "terraform-aws-modules/s3-bucket/aws"
version = "v2.9.0"
bucket = module.config_label.id
acl = "private"
block_public_acls = true
Expand Down Expand Up @@ -121,7 +122,7 @@ module "config" {
source = "trussworks/config/aws"
version = "4.3.0"
config_name = module.config_label.id
config_logs_bucket = module.config_bucket.this_s3_bucket_id
config_logs_bucket = module.config_bucket.s3_bucket_id
#config_sns_topic_arn = aws_sns_topic.config.arn
check_cloud_trail_encryption = true
check_cloud_trail_log_file_validation = true
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
output "config_bucket_name" {
value = module.config_bucket.this_s3_bucket_id
value = module.config_bucket.s3_bucket_id
}

0 comments on commit 4209c0e

Please sign in to comment.