https://github.com/theodesp/packer-consul-nomad-terraform-example
Example using Packer + Terraform for Digital Ocean with Nomad, Consul
https://github.com/theodesp/packer-consul-nomad-terraform-example
consul digitalocean nomad packer terraform
Last synced: 3 months ago
JSON representation
Example using Packer + Terraform for Digital Ocean with Nomad, Consul
- Host: GitHub
- URL: https://github.com/theodesp/packer-consul-nomad-terraform-example
- Owner: theodesp
- License: mit
- Created: 2019-05-27T12:49:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-27T12:52:13.000Z (about 7 years ago)
- Last Synced: 2025-03-29T17:12:53.801Z (about 1 year ago)
- Topics: consul, digitalocean, nomad, packer, terraform
- Language: Shell
- Size: 5.86 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Packer + Terraform + Consul + Nomad Example
---
Example using Packer + Terraform for Digital Ocean with Nomad, Consul & fabio
## First Things First
Navigate to the `packer` directory and create all the images. Make sure you populate the variables.json with your DigitalOcean token
```bash
cd packer
vim variables-nomad.json
packer validate -var-file variables-nomad.json ubuntu_do.json
vim variables-consul.json
packer validate -var-file variables-consul.json ubuntu_do.json
```
Once you are happy with the validations you can start building the images
```bash
packer build -var-file variables-consul.json ubuntu_do.json
packer build -var-file variables-nomad.json ubuntu_do.json
```
## License
MIT 2019 Theo Despoudis