Created
March 25, 2020 08:45
-
-
Save succi0303/e5598a37de2227c3958be30b241fd2da to your computer and use it in GitHub Desktop.
This file contains 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
Parameters: | |
KeyName: | |
Description: Name of an existing EC2 KeyPair | |
Type: String | |
Mappings: | |
RegionMap: | |
us-east-1: | |
AMI: ami-76f0061f | |
us-west-1: | |
AMI: ami-655a0a20 | |
Resources: | |
Ec2Instance: | |
Type: 'AWS::EC2::Instance' | |
Properties: | |
KeyName: !Ref KeyName | |
ImageID: !FindMap | |
- RegionMap | |
- !Ref 'AWS::Region' | |
- AMI | |
UserData: !Base64 '80' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment