Deployment targets offer a scalable and flexible way to deploy Takomo configurations across multiple accounts and regions.
A deployment target represents a target where to deploy CloudFormation stacks. Targets can reside in different accounts and regions. Each target has a name that you use to refer to it.
You use deployment groups to group deployment targets with similar configurations. You can nest deployment groups to create tree-like hierarchies where child groups inherit configuration from their parents.
Deployment targets inherit configuration from the deployment group they belong to. Both the child deployment groups and deployment targets can also override all or parts of the configuration they inherit.
You use config sets to specify stacks you want to deploy to your deployment targets. Config sets are regular Takomo stack configurations.
You can attach config sets to deployment groups and deployment targets. Deployment targets inherit config sets attached to the deployment group they belong to.
You can specify variables for deployment groups and targets. Deployment groups inherit variables from their parents, and targets inherit variables from the deployment group they belong to. The variables are useful when you want to deploy your stacks to multiple targets with different parameters..
Takomo exposes variables attached to a deployment target when it gets deployed. You can refer to the variables in stack and stack group configuration files and stack templates the same way you would refer to standard command-line variables.