diff --git a/infrastructure/terraform/modules/cloudfront/main.tf b/infrastructure/terraform/modules/cloudfront/main.tf index 02b64606..1ebe0578 100644 --- a/infrastructure/terraform/modules/cloudfront/main.tf +++ b/infrastructure/terraform/modules/cloudfront/main.tf @@ -22,9 +22,7 @@ resource "aws_cloudfront_distribution" "this" { for_each = origin.value.origin_type == "s3" ? [1] : [] content { - origin_access_identity = - aws_cloudfront_origin_access_identity.oai[origin.key] - .cloudfront_access_identity_path + origin_access_identity = aws_cloudfront_origin_access_identity.oai[origin.key].cloudfront_access_identity_path } }