terraform-example-foundation
terraform-example-foundation copied to clipboard
tf-wrapper should handle both main branch for policy repo
TL;DR
Some users may be using main branch for policy repo and our wrapper should support using it. Currently it fails with
Step #1 - "tf plan validate all": At environment: envs/shared
Step #1 - "tf plan validate all": Using policy from: /workspace/policy-library
Step #1 - "tf plan validate all": *****************************************************
Step #1 - "tf plan validate all": Cloning into '/workspace/policy-library'...
Step #1 - "tf plan validate all": warning: remote HEAD refers to nonexistent ref, unable to checkout.
/cc @jasonbisson
Expected behavior
No response
Observed behavior
No response
Terraform Configuration
N/A
Terraform Version
N/A
Additional information
No response
This issue can be remediated by updating the name of the repo for gcp-policies in the tf-wrapper file
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days