Skip to content

Instantly share code, notes, and snippets.

@bdpiprava
Last active July 25, 2018 04:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdpiprava/5542dac57e7f756c76d67f2d08088461 to your computer and use it in GitHub Desktop.
Save bdpiprava/5542dac57e7f756c76d67f2d08088461 to your computer and use it in GitHub Desktop.
linux-ec2 instance
{
"DryRun": false,
"ImageId": "ami-fbc1c684",
"MinCount": 1,
"MaxCount": 1,
"UserData": "#!/bin/bash\n cat <<EOT >> /etc/ecs/ecs.config \n ECS_CLUSTER=GoCD \n EOT",
"InstanceType": "t2.small",
"IamInstanceProfile": {
"Name": "ecsInstanceRole"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment