Skip to content

Instantly share code, notes, and snippets.

@Atalanta
Created April 3, 2011 04:29
Show Gist options
  • Save Atalanta/900180 to your computer and use it in GitHub Desktop.
Save Atalanta/900180 to your computer and use it in GitHub Desktop.
{
"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