Skip to content

Commit

Permalink
set log bucket to use prefix rather than name, to ensure uniqueness
Browse files Browse the repository at this point in the history
  • Loading branch information
dms1981 committed Nov 1, 2023
1 parent 5139bdd commit c21657a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module "s3-bucket" {
providers = {
aws.bucket-replication = aws.bucket-replication
}
bucket_name = "${var.application_name}-ssm-patching-logs"
bucket_prefix = "${var.application_name}-ssm-patching-logs"
bucket_policy = [data.aws_iam_policy_document.bucket_policy.json]
replication_enabled = false
versioning_enabled = true
Expand Down

0 comments on commit c21657a

Please sign in to comment.