Created
November 21, 2017 21:29
-
-
Save pbzona/cd5c1f8b6d8c17133998ed375efefd0f to your computer and use it in GitHub Desktop.
CloudFormation - Mapping example in YAML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mappings: | |
RegionMap: | |
us-east-1: | |
32: "ami-6411e20d" | |
64: "ami-7a11e213" | |
us-west-1: | |
32: "ami-c9c7978c" | |
64: "ami-cfc7978a" | |
Resources: | |
myEC2Instance: | |
Type: "AWS::EC2::Instance" | |
Properties: | |
ImageId: !FindInMap [ RegionMap, !Ref "AWS::Region", 32 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment