Skip to content

aws-sdk: Increase in TimeoutErrors in Amplify hotswap builds #32219

Closed
@ShadowCat567

Description

@ShadowCat567

Describe the bug

Starting from 11/14, we have started seeing TimeoutError: Resource is not in the expected state due to waiter status: TIMEOUT, with a frequency we have never seen before. This error was added here in version 2.167.0.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

2.166.0

Expected Behavior

Very few to none TimeoutError: Resource is not in the expected state due to waiter status: TIMEOUT appearing to our customers.

Current Behavior

TimeoutError: Resource is not in the expected state due to waiter status: TIMEOUT has become one of the most common error messages our customers are receiving.

Reproduction Steps

  1. Setup amplify (Gen2) https://docs.amplify.aws/react/start/manual-installation/
  2. Setup a function https://docs.amplify.aws/react/build-a-backend/functions/set-up-function/
  3. Make a change in lambda code

Possible Solution

Roll back this PR: #31702

Additional Information/Context

No response

CDK CLI Version

2.167.0

Framework Version

No response

Node.js Version

=Node18

OS

Linux/Mac/Windows

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-amplifyRelated to AWS Amplify@aws-cdk/coreRelated to core CDK functionalitybugThis issue is a bug.p0potential-regressionMarking this issue as a potential regression to be checked by team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions