Skip to content

Commit

Permalink
Set default ttl to 0 when no cache header present (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofhouse committed Jan 11, 2022
1 parent ff43410 commit 85f7538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ resource "aws_cloudfront_cache_policy" "this" {

# Default values (Should be provided by origin)
min_ttl = 0
default_ttl = 86400
default_ttl = 0
max_ttl = 31536000

parameters_in_cache_key_and_forwarded_to_origin {
Expand Down

0 comments on commit 85f7538

Please sign in to comment.