All of the cloudbuild documentation references using Cloud builders (publicly available container images) that are hosted by GCP. I need to run a terraform build and have successfully used a terraform published container image in my cloudbuild configuration file:
steps:
- name: 'hashicorp/terraform:latest'
Is this the right approach or should creating my own terraform container image as shown below and using that? I'm not understanding what the value is of having my own 'builder' when one already exists... https://github.com/GoogleCloudPlatform/cloud-builders-community/blob/master/terraform/cloudbuild.yaml