Skip to content

Commit

Permalink
Merge pull request #36088 from mansourkheffache/mansourkheffache/remo…
Browse files Browse the repository at this point in the history
…ve-upper-limit-origin-read-timeout-cloudfront

Remove upper limit on origin_read_timeout for CloudFront distribution
  • Loading branch information
ewbankkit committed Mar 5, 2024
2 parents ea97973 + d747709 commit aa541ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/36088.txt
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_cloudfront_distribution: Remove the upper limit on `origin.custom_origin_config.origin_read_timeout`
```
2 changes: 1 addition & 1 deletion internal/service/cloudfront/distribution.go
Expand Up @@ -559,7 +559,7 @@ func ResourceDistribution() *schema.Resource {
Type: schema.TypeInt,
Optional: true,
Default: 30,
ValidateFunc: validation.IntBetween(1, 180),
ValidateFunc: validation.IntAtLeast(1),
},
"origin_protocol_policy": {
Type: schema.TypeString,
Expand Down

0 comments on commit aa541ac

Please sign in to comment.