This project demonstrates the following:
- Building go backend image app built with docker which, requires an apiKey to process the requests.
- This apiKey is stored in HashiCorp Vault.
- This vault is deployed among the rest of the prerequisites using terraform.
- You need to export the mandatory parameter which is the GCP PROJECT_ID env variable.
- Optionally, you can modify the terraform's other variables which are already set with default values.
cd web-private-targets && skaffold \
build --interactive=false \
--default-repo $(gcloud config \
get-value \
compute/region)-docker.pkg.dev/${PROJECT_ID}/web-app-private-targets \
--file-output artifacts.json \
&& cd ..