We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa5e7c7 commit 5464ccdCopy full SHA for 5464ccd
1 file changed
infrastructure/terraform/modules/s3bucket/s3_bucket_logging.tf
@@ -4,5 +4,5 @@ resource "aws_s3_bucket_logging" "main" {
4
5
# Enable S3 Bucket Logging to the logs bucket
6
target_bucket = var.bucket_logging_target["bucket"]
7
- target_prefix = lookup(var.bucket_logging_target, "prefix", "${aws_s3_bucket.main.id}/")
+ target_prefix = lookup(var.bucket_logging_target, "prefix", "${var.name}/")
8
}
0 commit comments