open-nomad/e2e/terraform/packer/packer.json
Tim Gross bc6ad011fe
e2e: Linux AMI setup cleanup (#8821)
As we add new Linux targets for E2E, the existing setup.sh script will be used
only for Ubuntu. Rather than have the service and config files echo'd from the
script, move them into files we upload so they can be reused.

Includes some general noise reduction in the setup.sh script and removal of
unused bits.
2020-09-03 16:30:58 -04:00

28 lines
526 B
JSON

{
"builders": [
{
"type": "amazon-ebs",
"region": "us-east-1",
"source_ami": "ami-7ad76705",
"instance_type": "t2.medium",
"ssh_username": "ubuntu",
"iam_instance_profile": "packer_build",
"ami_name": "nomad-e2e-{{timestamp}}",
"tags": {
"OS": "Ubuntu"
}
}
],
"provisioners": [
{
"type": "file",
"source": "./linux",
"destination": "/tmp/linux"
},
{
"type": "shell",
"script": "./linux/setup.sh"
}
]
}