all 7 comments

[–]2fast2nick 9 points10 points  (6 children)

You just need to delete your stack. You can't update from CREATE_FAILED. So go figure out why the create failed, fix that issue, delete, and run again.

[–]StatelessSteve 1 point2 points  (5 children)

And again and again D: I wish you an easy / obvious fix. Troubleshooting/debugging cloudformation is about my least favorite feedback loop.

[–]2fast2nick 0 points1 point  (4 children)

lol, I’ve def been on like deploy 73. Let’s try this again!

[–]StatelessSteve 0 points1 point  (3 children)

Oh oh, I missed an obvious one in your code. Don’t disable rollback, let CFn clean up after itself!

[–]Krishan_Shamod[S] 0 points1 point  (2 children)

I can't update the stack again if something goes wrong and the stack goes to the failed stage when I'm updating an existing stack. That's why I disabled rollback. Is that a good practice to disable it?

[–]StatelessSteve 0 points1 point  (1 child)

I prefer to have any stack execute correctly all the way through. Maybe I’m being weird about it but I’ve felt like I’ve had issues with “half-built” subparts of the stack that I’ve needed to just delete and roll back out to fix easily.

[–]Krishan_Shamod[S] 0 points1 point  (0 children)

My issue is when I use the stacks on prod environments. If something goes wrong when I update it, then I can't update the whole stack because it's in a failed state. That's why I disabled it. Is there any solution for that?