Skip to content

Commit

Permalink
fix log target prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Nov 16, 2021
1 parent 9e0b36d commit 8b93440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudtrail/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ resource "aws_s3_bucket" "this" {

logging {
target_bucket = var.access_log_bucket
target_prefix = format("%s/%s/", var.access_log_bucket_prefix, local.name)
target_prefix = format("%s/%s/", var.access_log_bucket_prefix, local.bucket_name)
}

tags = merge(
Expand Down

0 comments on commit 8b93440

Please sign in to comment.