Skip to content

Commit

Permalink
Update cache policy to stop cookies being passed to S3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobgill1 committed Mar 13, 2024
1 parent ed3da37 commit b9d889d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ locals {
enable_accept_encoding_brotli = coalesce(try(var.cloudfront.cache_policy.enable_accept_encoding_brotli, null), true)
enable_accept_encoding_gzip = coalesce(try(var.cloudfront.cache_policy.enable_accept_encoding_gzip, null), true)
cookies_config = merge({
cookie_behavior = "all",
cookie_behavior = "none",
items = []
}, try(var.cloudfront.cache_policy.cookies_config, {}))
headers_config = merge({
Expand Down

0 comments on commit b9d889d

Please sign in to comment.