Aws cloudformation errors

An error occurred (ValidationError) when calling the UpdateStack operation: Stack:arn:aws:cloudformation…………99ca-027752755cb2 is in UPDATE_IN_PROGRESS state and can not be updated

Cause 1:

The update is in progress and you just need to wait for it to complete. There is no problem related to the update that is progress.

Solution 1:

Just wait until the updated completes successfully.

— — — — —

Cause 2

The stack with status UPDATE_IN_PROGRESS is stuck and the problem is caused because one element can’t be deleted or created.

Solution 2.1

Try to identify the resource(s) that do not have a status of CREATE_COMPLETED or UPDATE_COMPLETE and create a list of those resources. The problem might be related to one of those resources.

To find the resource(s) that do not have a status of CREATE_COMPLETED or UPDATE_COMPLETE go to this section of the UI:

Resources tab
Events tab

When you find the problem related with one of the resources then try to solve thatt particular problem and see if that solves the problem with the stack.

Solution 2.2

Cancelling the update via cloudformation UI. Find the stack that has update in program. Select it. There will be an “Action” button on top right, click that and you’ll see option to cancel. This is a good option and it was proposed by the person in this post.

Solution 2.3

Delete the stack that is stuck in the status UPDATE_IN_PROGRESS

Related resources

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store