From 4a8972c413c572130f7868041d5a50e4665b5f8b Mon Sep 17 00:00:00 2001 From: Tom Dugan Date: Wed, 9 Dec 2020 04:42:38 -0500 Subject: [PATCH] update elb delivery policy to use ARN from S3 Bucket resource to support Gov Cloud --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index a34850de..b3f40e7f 100644 --- a/main.tf +++ b/main.tf @@ -257,7 +257,7 @@ data "aws_iam_policy_document" "elb_log_delivery" { ] resources = [ - "arn:aws:s3:::${aws_s3_bucket.this[0].id}/*", + "${aws_s3_bucket.this[0].arn}/*", ] } }