Packer template for Ecodev cloud

This is a packer template to build a box for Ecodev cloud and publish it on https://portal.cloud.hashicorp.com/vagrant/discover/Ecodev. It is based on chef/bento.

To build locally:

  1. Create a new key on for the service principal "Box uploader" on https://portal.cloud.hashicorp.com/ > Access control (IAM) > Service principals > box-uploader > Keys > Generate key
  2. Set the key as the environment variable HCP_CLIENT_ID and HCP_CLIENT_SECRET
  3. Install packer plugins:
packer init .
  1. Build the box and automatically upload to https://portal.cloud.hashicorp.com/vagrant/discover/Ecodev:
packer build .