From e78900f0b6ecf3161cdb321cc995f5b5dc2cbd72 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 13 Mar 2026 14:13:14 +0000 Subject: [PATCH] correct more terraform syntax --- infrastructure/terraform/modules/cloudfront/main.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infrastructure/terraform/modules/cloudfront/main.tf b/infrastructure/terraform/modules/cloudfront/main.tf index 1ebe0578..d73edadc 100644 --- a/infrastructure/terraform/modules/cloudfront/main.tf +++ b/infrastructure/terraform/modules/cloudfront/main.tf @@ -131,8 +131,7 @@ resource "aws_s3_bucket_policy" "bucket_policy" { { Effect = "Allow" Principal = { - AWS = aws_cloudfront_origin_access_identity.oai[each.key] - .iam_arn + AWS = aws_cloudfront_origin_access_identity.oai[each.key].iam_arn } Action = "s3:GetObject" Resource = "${each.value.bucket_arn}/*"