Skip to content

Commit

Permalink
fix(terraform): remove specific CloudFront S3 policy condition (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Aug 12, 2024
1 parent e15de0a commit b250b37
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions infra/terraform/modules/service/cdn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,6 @@ data "aws_iam_policy_document" "s3_policy" {
type = "Service"
identifiers = ["cloudfront.amazonaws.com"]
}

condition {
test = "StringEquals"
variable = "aws:SourceArn"
values = [module.cloudfront.cloudfront_distribution_arn]
}
}
}

Expand Down

0 comments on commit b250b37

Please sign in to comment.