terraform-google-modules / terraform-google-gcloud

Executes Google Cloud CLI commands within Terraform
https://registry.terraform.io/modules/terraform-google-modules/gcloud/google
Apache License 2.0
140 stars 96 forks source link

Support using along terraform-google-provider 4.x.x #107

Closed johnmartel closed 2 years ago

johnmartel commented 2 years ago

TL;DR

The current constraint on the version of terraform-google-provider forbids using on projects that have switched to the 4.x series of the provider.

Terraform Resources

No response

Detailed design

No response

Additional information

We would like to use this module to invoke gcloud to create resources not yet supported by the google and google-beta providers. These resources have dependencies on other regular resources created with the providers (for instance, regional network-endpoint-group backed by an api-gateway). I blindly tried this module here but the version constraint prevents it: we are already migrated to 4.0.0 of google and  google-beta.

johnmartel commented 2 years ago

This is closed by https://github.com/terraform-google-modules/terraform-google-gcloud/pull/108