Create Google cloud Service Account Key then export the credentials as a variable to use inside a container.
$ export TF_VAR_gcp_token=$(cat /path/to/account.json )
$ make packer-build env=google-cloud image=image-ubuntu
After this step, you will have a image on your image list repository, inside the project where your Service Account Key was generated.
This image use a build ID
for create a tag version.
To build the latest version use the command:
$ make packer-build-latest env=google-cloud image=image-ubuntu
TIP: don't destroy the env
where is the build image. You will use this for your VMs later.
$ make terraform-destroy provider=azure env=images-tester