Created
April 3, 2011 04:29
-
-
Save Atalanta/900180 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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description" : "Phase1", | |
"Parameters" : { | |
"KeyPair" : { | |
"Description" : "The EC2 Key Pair to allow SSH access to the instance", | |
"Type" : "String" | |
}, | |
"Version" : { | |
"Description" : "The version of the app that was deployed", | |
"Type" : "String" | |
} | |
}, | |
"Resources" : { | |
"Ec2Instance" : { | |
"Type" : "AWS::EC2::Instance", | |
"Properties" : { | |
"KeyName" : { "Ref" : "KeyPair" }, | |
"ImageId" : "ami-339ca947" | |
} | |
} | |
}, | |
"Outputs" : { | |
"InstanceId" : { | |
"Description" : "The InstanceId of the newly created EC2 instance", | |
"Value" : { "Ref" : "Ec2Instance" } | |
}, | |
"Version" : { | |
"Description" : "The version of the app that was deployed", | |
"Value" : { "Ref" : "Version" } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment