Is there a way to rename a cloudformation stack name?

Viewed 3335

I have a cloudformation stack (which is generated from stack_master), Resources are already created but I would like to put it into serverless framework. I have already added the resources section but It creates new stack. I want the stack to update existing stack and any updates to take from there. Thanks

2 Answers

Its not possible to rename a stack. You have to delete it, and create new one with the name you want.

For most resources, changing the logical name of a resource is equivalent to deleting that resource and replacing it with a new one. Any other resources that depend on the renamed resource also need to be updated and might cause to be replaced. Other resources require you to update a property (not just the logical name) in order to initiate an update.

So Logically you have to delete the stack and create a new one as you want.

You can check out this link: AWS Official Doc

Related