Cloud Build branch triggers do not seem to have a repo URL variable, just repo name (gke-poc-toolkit). For this reason, we need to hardcode the main terraform URL to be able to get the full github URL (github.com/GoogleCloudPlatform/gke-poc-toolkit).
Cloud Build branch triggers do not seem to have a repo URL variable, just repo name (
gke-poc-toolkit
). For this reason, we need to hardcode the main terraform URL to be able to get the full github URL (github.com/GoogleCloudPlatform/gke-poc-toolkit
).https://cloud.google.com/build/docs/configuring-builds/substitute-variable-values