Explorar o código

Merge pull request #84 from mdr-engineering/feature/ftd_MSOCI-1447_FixLoggingPrefix

Fixes a missing $ resulting in incorrect object names
Frederick Damstra %!s(int64=4) %!d(string=hai) anos
pai
achega
72f8154df1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}"
   }
 
 }