jdormit-infra/prod/nginx/packer/nginx.json
2021-10-04 09:06:02 -04:00

27 lines
477 B
JSON

{
"builders": [
{
"type": "digitalocean",
"image": "ubuntu-18-04-x64",
"region": "nyc1",
"size": "s-1vcpu-1gb",
"snapshot_name": "packer-nginx-{{timestamp}}",
"ssh_username": "root"
}
],
"provisioners": [
{
"type": "shell",
"script": "scripts/dependencies.sh"
},
{
"type": "file",
"source": "tmp/nginx.conf"
},
{
"type": "shell",
"script": "scripts/nginx.sh"
}
]
}