2018-12-17 17:40:09 +00:00
|
|
|
{
|
|
|
|
"builders": [{
|
|
|
|
"type": "amazon-ebs",
|
|
|
|
"region": "us-east-1",
|
|
|
|
"source_ami": "ami-80861296",
|
|
|
|
"instance_type": "t2.medium",
|
|
|
|
"ssh_username": "ubuntu",
|
|
|
|
"ami_name": "nomad-e2e-{{timestamp}}",
|
2019-08-30 20:51:13 +00:00
|
|
|
"ami_groups": ["all"],
|
|
|
|
"tags": {
|
|
|
|
"OS": "Ubuntu"
|
|
|
|
}
|
2018-12-17 17:40:09 +00:00
|
|
|
}],
|
|
|
|
"provisioners": [
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"inline": [
|
|
|
|
"sudo mkdir /ops",
|
|
|
|
"sudo chmod 777 /ops"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"source": "shared",
|
|
|
|
"destination": "/ops"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"script": "shared/scripts/setup.sh"
|
|
|
|
}]
|
|
|
|
}
|