Missleading documentation in aws_cloudfront_distribution #21677
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/cloudfront
Issues and PRs that pertain to the cloudfront service.
Community Note
Affected resource
aws_cloudfront_distribution
.Issue
The documentation states the attribute
max_ttl
to be an optional variable. It does not mention that it defaults to 0, even ifdefault_ttl
is higher than zero.Steps to reproduce
default_ttl
but notmax_ttl
in blockdefault_cache_behavior
orordered_cache_behavior
.terraform apply
x-cache: RefreshHit from cloudfront
for each requestThe text was updated successfully, but these errors were encountered: