Skip to content

Commit

Permalink
infra: remove api cloudfront cache
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Nov 23, 2024
1 parent 54fa089 commit 9891595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/cloudfront.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "aws_cloudfront_distribution" "main" {
allowed_methods = ["GET", "HEAD", "OPTIONS"]
cached_methods = ["GET", "HEAD", "OPTIONS"]
target_origin_id = aws_lb.main.dns_name
cache_policy_id = aws_cloudfront_cache_policy.default.id
cache_policy_id = "4135ea2d-6df8-44a3-9df3-4b5a84be39ad" #Managed-CachingDisabled
origin_request_policy_id = aws_cloudfront_origin_request_policy.default.id
viewer_protocol_policy = "redirect-to-https"
compress = true
Expand Down

0 comments on commit 9891595

Please sign in to comment.