heat/templates/getting_started.template
Steven Hardy 89dca2fd6a heat templates : Cleanup README and template whitespace
Align README with latest templates and cleanup some whitespace issues
ref #147

Change-Id: Iad39c388806bba6497f8abf0de46c04ef7ac7e69
Signed-off-by: Steven Hardy <shardy@redhat.com>
2012-06-21 14:05:37 +01: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" : "F16-x86_64-cfntools",
"InstanceType": "m1.large",
"UserData" : { "Fn::Base64" : "80" }
}
}
},
"Outputs" : {
"InstanceIp" : {
"Value" : { "Fn::Join" : ["", ["ssh ec2-user@",
{"Fn::GetAtt": ["MyInstance",
"PublicIp"]}]]},
"Description" : "My ssh command"
}
}
}