This tutorial will walk you through how to use the “Migrating from stacksets to stacks” feature.
We will assume you have:
We will assume you are comfortable:
Here are the steps you need to follow to “Migrating from stacksets to stacks”
Your account should contain a stack that was part of a stackset. You will need to know the stack set name used.
You will need to add a stack to your manifest file. You can name the stack whatever you want. You will need to add an attribute named stack_set_name and the value should be the stack set name - not the stack set instance. In this example it looks like this:
When you make this change the framework will look for a stacks in the spoke account with a stack name beginning with StackSet-basic-vpc-. If it finds it, it will use your new (stack) template to update the CloudFormation stack your stack set created. You should not modify the stack set unless you want to terminate the resources. If you terminate the stackset or if the stack instance does not exist in the spoke account a new stack will be created using the stack name from the manifest file as the CloudFormation stack name.
With this approach you can migrate a stack set to a stack. In existing accounts the stack from the stack set will be
used (with a name of StackSet-<stack_name>-