Skip to content

Backport ability to configure AWS API Gateway integration timeout #24

Closed
@danmactough

Description

@danmactough

Would you accept a PR to backport this PR serverless/serverless#12926 (implementing serverless/serverless#12800)?

As I explained in my original issue: Currently, there is no way to configure the integration timeout, and when generating the method integration (for a REST API), the optional TimeoutInMillis property is omitted (thus defaulting to 29000ms).

While this has previously prevented folks from adjusting the integration timeout to a shorter value, it has not really been a problem. But AWS recently removed the hard-cap of 29s for REST APIs. Folks who want to increase the timeout can submit a request to increase the service quota (my request was automatically approved).

And while users who have increased the API Gateway timeout can configure their Lambdas to timeout after more than 29s (notwithstanding the outdated warning about the API Gateway maximum timeout), we cannot adjust the API Gateway integration timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions