Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase limit for Amazon API Gateway integration timeout beyond 29 s… #38010

Merged
merged 4 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/38010.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/aws_api_gateway_integration: Increase maximum value of `timeout_milliseconds` from `29000` (29 seconds) to `300000` (5 minutes)
```
2 changes: 1 addition & 1 deletion internal/service/apigateway/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func resourceIntegration() *schema.Resource {
"timeout_milliseconds": {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(50, 29000),
ValidateFunc: validation.IntBetween(50, 300000),
Default: 29000,
},
"tls_config": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_integration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ This resource supports the following arguments:
* `cache_key_parameters` - (Optional) List of cache key parameters for the integration.
* `cache_namespace` - (Optional) Integration's cache namespace.
* `content_handling` - (Optional) How to handle request payload content type conversions. Supported values are `CONVERT_TO_BINARY` and `CONVERT_TO_TEXT`. If this property is not defined, the request payload will be passed through from the method request to integration request without modification, provided that the passthroughBehaviors is configured to support payload pass-through.
* `timeout_milliseconds` - (Optional) Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds.
* `timeout_milliseconds` - (Optional) Custom timeout between 50 and 300,000 milliseconds. The default value is 29,000 milliseconds. You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase time beyond 29,000 milliseconds.
* `tls_config` - (Optional) TLS configuration. See below.

### tls_config Configuration Block
Expand Down
Loading