I'm writing my first CF stacks and I'm running into failed deploys on the first try of course because I don't know the syntax and available parameters yet fully. I am validating my json and the template itself via the CLI but it can still run into issues at deployment and cause a rollback or failure. Now when it's a brand new stack and not an update, the deployment just fails and I can't update it, I have to completely destroy the stack and redeploy it brand new.
I was wondering how to go about this issue. Even tho the deleted stack is not in the console, the CLI will still list all of the stacks that have been created and destroyed previously and it's just not clean. I can't update the stack of course after fixing the issue that caused it to fail because it's in the failed state, I have to redeploy everything as if it was a completely new stack.
Any thoughts on this? How did you go about creating your first stacks?