Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "DevTestClusterInstanceLaunchConfig" : {
- "Type" : "AWS::AutoScaling::LaunchConfiguration",
- "Properties" : {
- "IamInstanceProfile" : { "Fn::FindInMap" : [ "EnvMap", { "Ref" : "Environment" }, "IamInstanceProfile" ] },
- "ImageId":{ "Ref" : "ImageId" },
- "InstanceType" : { "Fn::FindInMap" : [ "EnvMap", { "Ref" : "Environment" }, "InstanceType" ] },
- "SecurityGroups" : { "Fn::FindInMap" : [ "EnvMap", { "Ref" : "Environment" }, "SecurityGroupIds" ] },
- "KeyName" : "some-awesome-key",
- "UserData" : {
- "Fn::Base64": {
- "Fn::Join": [
- "",
- [
- "#!/bin/bash -ex \n",
- "sudo yum update -y \n",
- "sudo yum install -y docker \n",
- "sudo service docker start"
- ]
- ]
- }
- }
- }
- },
Add Comment
Please, Sign In to add comment