bitovi / bitovi/bitops

Cloudformation doesn't work with stacks in ROLLBACK_COMPLETE state

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
deployment-tool enhancement ✨
Dominant language
Python
Stars
37
Forks
9
PR merge metrics
No merged PRs in 30d

Description

```
An error occurred (ValidationError) when calling the UpdateStack operation: Stack:arn:aws:cloudformation:us-east-1:xxxxx:stack/yyyyyyyy/zzzzzzzz is in ROLLBACK_COMPLETE state and can not be updated.
388
```

I think this is because https://github.com/bitovi/bitops/blob/master/scripts/cloudformation/cloudformation_deploy.sh#L26 simply checks if the stack exists to decide whether to do a `create` or `update` action. This check needs to be enhanced to also consider the state of the stack.

A potentially helpful resource
https://stackoverflow.com/questions/57932734/validationerror-stackarn-aws-cloudformation-stack-is-in-rollback-complete-state

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.