Created
December 11, 2016 14:08
-
-
Save flannon/555b9fc41bd5c47eb4a77b8d59585bcc to your computer and use it in GitHub Desktop.
Cloudformation AWS::EC2::Instance calling cross stack exported GroupId
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
myInstance: | |
Type: AWS::EC2::Instance | |
Properties: | |
ImageId: | |
Fn::FindInMap: | |
- RegionMap | |
- Ref: AWS::Region | |
- AMI | |
InstanceType: t1.micro | |
KeyName: | |
Ref: KeyPair | |
SecurityGroupIds: [ !ImportValue TESTY22-SecurityGroupID ] | |
Tags: | |
- Key: Name | |
Value: myInstanceName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment