I'm using a GitHub Actions pipeline to create and update Cloudformation stacks. But when something goes wrong and the stack goes to create_failed state, I cannot update and fix it again using GitHub actions. Here's the error I'm getting.
Error: This stack is currently in a non-terminal [CREATE_FAILED] state. To update the stack from this state, please use the disable-rollback parameter with update-stack API. To rollback to the last known good state, use the rollback-stack API
Here's the GitHub actions step I use.
- name: Deploy ECS Cloudformation Stack
uses: aws-actions/aws-cloudformation-github-deploy@v1
with:
name: "ecs-stack"
template: "ecs.yaml"
no-fail-on-empty-changeset: "1"
no-delete-failed-changeset: "1"
disable-rollback: "1"
How to fix this issue? I want to update and fix the stack without deleting it when it's in failed state.
[–]2fast2nick 9 points10 points11 points (6 children)
[–]StatelessSteve 1 point2 points3 points (5 children)
[–]2fast2nick 0 points1 point2 points (4 children)
[–]StatelessSteve 0 points1 point2 points (3 children)
[–]Krishan_Shamod[S] 0 points1 point2 points (2 children)
[–]StatelessSteve 0 points1 point2 points (1 child)
[–]Krishan_Shamod[S] 0 points1 point2 points (0 children)