We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 436269a commit 2b22eb5Copy full SHA for 2b22eb5
examples/complete/main.tf
@@ -177,6 +177,7 @@ module "acm" {
177
#############
178
179
data "aws_canonical_user_id" "current" {}
180
+data "aws_cloudfront_log_delivery_canonical_user_id" "cloudfront" {}
181
182
module "s3_one" {
183
source = "terraform-aws-modules/s3-bucket/aws"
@@ -199,7 +200,7 @@ module "log_bucket" {
199
200
}, {
201
type = "CanonicalUser"
202
permission = "FULL_CONTROL"
- id = "c4c1ede66af53448b93c283ce9448c4ba468c9432aa01d700d3878632f77d2d0"
203
+ id = data.aws_cloudfront_log_delivery_canonical_user_id.cloudfront.id
204
# Ref. https://github.com/terraform-providers/terraform-provider-aws/issues/12512
205
# Ref. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
206
}]
0 commit comments