This uses Packer with the OpenStack plugin to automate interaction with Nectar to build a base image for deployment of traitecoevo/austraits-api-nectar.
To run locally:
- Install Packer
- Create a variables file
{somename}.auto.pkrvars.hcl
setting variables as defined inaustraits-api-base.pkr.hcl
with values from Nectar project to use for build:
source_image = "{put image id here}"
... etc ...
- Source credentials for this Nectar project into environment (see Setting up your credentials)
$ packer build .