Skip to content

Commit

Permalink
context name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettje committed Sep 11, 2023
1 parent eff3cfd commit be547c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssm_log_bucket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module "ssm_patch_log_s3_bucket_label" {
enabled = local.create_log_bucket
# attributes = ["scan-window"]
context = module.this.context
name = local.bucket_name
}
data "aws_iam_policy_document" "bucket_policy" {
count = local.create_log_bucket ? 1 : 0
Expand Down Expand Up @@ -44,7 +45,7 @@ module "ssm_patch_log_s3_bucket" {
source = "cloudposse/s3-bucket/aws"
version = "3.1.2"

bucket_name = local.bucket_name
#bucket_name = local.bucket_name
s3_object_ownership = "BucketOwnerEnforced"
versioning_enabled = var.ssm_bucket_versioning_enable
source_policy_documents = [local.bucket_policy]
Expand Down

0 comments on commit be547c1

Please sign in to comment.