Skip to content

Commit b7d016e

Browse files
Update default TTL to 15 minutes
1 parent 8b04693 commit b7d016e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/docs-rs/cloudfront.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ resource "aws_cloudfront_distribution" "webapp" {
4040
compress = true
4141
viewer_protocol_policy = "redirect-to-https"
4242

43-
default_ttl = 0
43+
default_ttl = 900 // 15 minutes
4444
min_ttl = 0
4545
max_ttl = 31536000 // 1 year
4646

0 commit comments

Comments
 (0)