From ffbadf29b89b459eb87ece6a2a1870975be00569 Mon Sep 17 00:00:00 2001 From: samkons Date: Sun, 8 Dec 2024 23:17:16 +0100 Subject: [PATCH] innvalidate cache --- infrastructure/modules/cloudfront/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/modules/cloudfront/main.tf b/infrastructure/modules/cloudfront/main.tf index 10600bd..a5cb06e 100644 --- a/infrastructure/modules/cloudfront/main.tf +++ b/infrastructure/modules/cloudfront/main.tf @@ -28,12 +28,12 @@ resource "aws_cloudfront_distribution" "car_predictor_cloudfront" { target_origin_id = var.bucket_name compress = true forwarded_values { - headers = [ ] query_string = true cookies { forward = "all" } } + cache_policy_id = "no-cache-policy" } restrictions {