b2e15ce1f7
Remove F16 as it's EOL, update with F18 as it's the current version. Leave the default as F17 for now in all except the Openshift templates (because Openshift doesn't work on F17, although these templates are currently broken anyway..) fixes bug 1154121 Change-Id: Ia95e6bfb4a15e355dfb0051d57f5b70a408551c6
30 lines
762 B
Plaintext
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.large",
|
|
"UserData" : { "Fn::Base64" : "80" }
|
|
}
|
|
}
|
|
},
|
|
"Outputs" : {
|
|
"InstanceIp" : {
|
|
"Value" : { "Fn::Join" : ["", ["ssh ec2-user@",
|
|
{"Fn::GetAtt": ["MyInstance",
|
|
"PublicIp"]}]]},
|
|
"Description" : "My ssh command"
|
|
}
|
|
}
|
|
}
|