diff --git a/.changelog/38010.txt b/.changelog/38010.txt new file mode 100644 index 00000000000..eceb03c0e5d --- /dev/null +++ b/.changelog/38010.txt @@ -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) +``` diff --git a/internal/service/apigateway/integration.go b/internal/service/apigateway/integration.go index 16726119f54..276bd303e8f 100644 --- a/internal/service/apigateway/integration.go +++ b/internal/service/apigateway/integration.go @@ -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": { diff --git a/website/docs/r/api_gateway_integration.html.markdown b/website/docs/r/api_gateway_integration.html.markdown index 7971d235593..5942b846db6 100644 --- a/website/docs/r/api_gateway_integration.html.markdown +++ b/website/docs/r/api_gateway_integration.html.markdown @@ -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