Scenario:
What we currently doing:
Currently we have a single CloudFormation template with Mappings defined for region specific values. ie we are using condition functions like if-else to check current AWS region and based on that we select the mapping for that region.
Problem:
Expectation:
We are looking for a comprehensive solution to support multiple regions using the same CloudFormation template and need to get rid of mappings and find more manageable way to handle region specific configurations.
Any help is highly appreciated.
You can use SSM parameters to solve your issue. If you don't know, SSM allows you to store parameters in your AWS environment. The parameters are scoped to each region. The procedure would be:
You can find more information regarding this feature here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.