terraform-google-modules / terraform-google-bootstrap

Bootstraps Terraform usage and related CI/CD in a new Google Cloud organization
https://registry.terraform.io/modules/terraform-google-modules/bootstrap/google
Apache License 2.0
212 stars 145 forks source link

feat: Add the ".git" suffix to the repo URL if missing #282

Closed josephdt12 closed 6 months ago

josephdt12 commented 6 months ago

Cloud Build requires the suffix in order to create a connection, so we can just add it if it isn't given.

Updated the GitHub test to strip the ".git" suffix of the CloneURL to test the behavior.