File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ module "acm" {
177177# ############
178178
179179data "aws_canonical_user_id" "current" {}
180+ data "aws_cloudfront_log_delivery_canonical_user_id" "cloudfront" {}
180181
181182module "s3_one" {
182183 source = " terraform-aws-modules/s3-bucket/aws"
@@ -199,7 +200,7 @@ module "log_bucket" {
199200 }, {
200201 type = " CanonicalUser"
201202 permission = " FULL_CONTROL"
202- id = " c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0 "
203+ id = data.aws_cloudfront_log_delivery_canonical_user_id.cloudfront.id
203204 # Ref. https://github.com/terraform-providers/terraform-provider-aws/issues/12512
204205 # Ref. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
205206 }]
You can’t perform that action at this time.
0 commit comments