Guest User

Untitled

a guest
Dec 12th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. "DevTestClusterInstanceLaunchConfig" : {
  2. "Type" : "AWS::AutoScaling::LaunchConfiguration",
  3. "Properties" : {
  4. "IamInstanceProfile" : { "Fn::FindInMap" : [ "EnvMap", { "Ref" : "Environment" }, "IamInstanceProfile" ] },
  5. "ImageId":{ "Ref" : "ImageId" },
  6. "InstanceType" : { "Fn::FindInMap" : [ "EnvMap", { "Ref" : "Environment" }, "InstanceType" ] },
  7. "SecurityGroups" : { "Fn::FindInMap" : [ "EnvMap", { "Ref" : "Environment" }, "SecurityGroupIds" ] },
  8. "KeyName" : "some-awesome-key",
  9. "UserData" : {
  10. "Fn::Base64": {
  11. "Fn::Join": [
  12. "",
  13. [
  14. "#!/bin/bash -ex \n",
  15. "sudo yum update -y \n",
  16. "sudo yum install -y docker \n",
  17. "sudo service docker start"
  18. ]
  19. ]
  20. }
  21. }
  22. }
  23. },
Add Comment
Please, Sign In to add comment