aws-cloudformation-github-deploy icon indicating copy to clipboard operation
aws-cloudformation-github-deploy copied to clipboard

Waiter timeout

Open carefreepineapple opened this issue 1 year ago • 4 comments

working with cloud front distributions and ssl certificates sometimes take a few minutes to successfully deploy. Recently i've been getting the error after around 30 seconds:

Error: {"state":"TIMEOUT","reason":"Waiter has timed out"}

Which I believe is due to the maxWaitTime of 30 seconds passed to:

waitUntilStackChangeSetCreateComplete()
waitUntilStackUpdateComplete()
waitUntilStackCreateComplete()

like so:

{ client: cfn, maxWaitTime: 30, minDelay: 10 }

Does this sound right or do you think the issue lies somewhere else?

carefreepineapple avatar Feb 01 '24 22:02 carefreepineapple

We're also seeing this error since this morning, with no changes to any of our GitHub workflows. It looks like it was one of the two recent PRs that may have caused this.

rnunn-bound avatar Feb 02 '24 08:02 rnunn-bound

+1 here

locking action to @v1.2.0 instead of @master resolved the issue for me

SanariSan avatar Feb 02 '24 10:02 SanariSan

We've pinned to 27513cdf512c25b03c3b2d771032a7d3ed8b02c9 – everything after that seems to have issues for us, so it's likely the SDK v3 change that has caused this.

rnunn-bound avatar Feb 02 '24 10:02 rnunn-bound

Drastically increased the timeout values to stop the immediate issue. Create and update stack operations will now timeout at 12 hours. We can adjust the numbers again but this should at least get us past the 30 second issue.

kddejong avatar Feb 02 '24 13:02 kddejong