origin_keepalive_timeout is restricted to 180 seconds for aws_cloudfront_distribution resource #23437
Labels
bug
Addresses a defect in current functionality.
service/cloudfront
Issues and PRs that pertain to the cloudfront service.
timeouts
Pertains to timeout increases.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Expected Behavior
We should be able to allow any value for origin_keepalive_timeout. It's up to AWS to restrict really high values not terraform since you can negotiate with AWS to allow high values in certain cases.
Actual Behavior
Error running terraform plan only allowing a max value of 180.
Steps to Reproduce
Set origin_keepalive_timeout to something higher then 180 seconds.
terraform apply
References
Reference to code.
terraform-provider-aws/internal/service/cloudfront/distribution.go
Line 543 in ad87be9
The text was updated successfully, but these errors were encountered: