Introducing StackSets
The result of CloudFormation stack deployment is always a bunch of resources, grouped in a single stack. We can consider a StackSet as a group of stacks deployed from the same template, with the same or different parameters, in multiple regions in a single account, in a single region for multiple accounts, or even multiple regions for multiple accounts! StackSets can be deployed to target regions or even accounts (whether in your AWS organization or just a separate account), as shown in the following diagram:
Figure 5.1 – StackSet architecture
As you can see in the preceding diagram, each StackSet consists of one or more stacks, provisioned from the same template. Those stacks are referred to as stack instances and are distributed among various accounts and regions. This is the first concept that we need to know.
Another concept is administrator and target accounts. An administrator account is an account where StackSets...