heat-templates/cfn/F17/getting_started.template
Steven Dake a2ad92fa58 Add F17, F18, F19, U12 subdirectories for templates
This change makes it possible for us to properly maintain example templates
for various distributions by organizing them into subdirectories.

Change-Id: I06e4d24cae83330af97870bab1e6795999218d1e
2013-08-04 18:55:34 -07:00

30 lines
762 B
Plaintext

{
"AWSTemplateFormatVersion" : "2010-09-09",
"Parameters" : {
"KeyName" : {
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instance",
"Type" : "String"
}
},
"Resources" : {
"MyInstance" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"KeyName" : { "Ref" : "KeyName" },
"ImageId" : "F17-x86_64-cfntools",
"InstanceType": "m1.small",
"UserData" : { "Fn::Base64" : "80" }
}
}
},
"Outputs" : {
"InstanceIp" : {
"Value" : { "Fn::Join" : ["", ["ssh ec2-user@",
{"Fn::GetAtt": ["MyInstance",
"PublicIp"]}]]},
"Description" : "My ssh command"
}
}
}