aws-cloudformation-github-deploy
aws-cloudformation-github-deploy copied to clipboard
Waiter timeout
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?
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.
+1 here
locking action to @v1.2.0 instead of @master resolved the issue for me
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.
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.