diff --git a/.changelog/31608.txt b/.changelog/31608.txt new file mode 100644 index 00000000000..d255c3e3401 --- /dev/null +++ b/.changelog/31608.txt @@ -0,0 +1,3 @@ +```release-note:bug +resource/aws_cloudfront_distribution: Remove the upper limit on `origin_keepalive_timeout` +``` diff --git a/internal/service/cloudfront/distribution.go b/internal/service/cloudfront/distribution.go index 8df20d239b3..75f7696ea20 100644 --- a/internal/service/cloudfront/distribution.go +++ b/internal/service/cloudfront/distribution.go @@ -545,7 +545,7 @@ func ResourceDistribution() *schema.Resource { Type: schema.TypeInt, Optional: true, Default: 5, - ValidateFunc: validation.IntBetween(1, 180), + ValidateFunc: validation.IntAtLeast(1), }, "origin_read_timeout": { Type: schema.TypeInt,