Browse Source

Fixes a missing $ resulting in incorrect object names

Fred Damstra 4 years ago
parent
commit
f3fc0f9781
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thirdparty/terraform-aws-s3logging-bucket/main.tf

+ 1 - 1
thirdparty/terraform-aws-s3logging-bucket/main.tf

@@ -63,7 +63,7 @@ resource "aws_s3_bucket" "this" {
   # which creates a log which leads to splunk accessing the s3 bucket)
   logging {
     target_bucket = local.bucket_name
-    target_prefix = "{data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}-${local.bucket_name}"
+    target_prefix = "${data.aws_caller_identity.current.account_id}-${data.aws_region.current.name}-${local.bucket_name}"
   }
 
 }