terraform-google-modules / terraform-google-project-factory

Creates an opinionated Google Cloud project by using Shared VPC, IAM, and Google Cloud APIs
https://registry.terraform.io/modules/terraform-google-modules/project-factory/google
Apache License 2.0
825 stars 533 forks source link

Support GCP and GCP-Beta Provider Versions ~>5.0 #887

Closed cherusk closed 5 months ago

cherusk commented 6 months ago

TL;DR

Currently, the module constraints both google provider versions to ~> 4.11

We want to use the module with higher Provider Versions ~>5.0

Terraform Resources

No response

Detailed design

No response

Additional information

No response

imrannayer commented 5 months ago

@cherusk I cant find any limitation ~> 4.11. Can you plz post the file where you see it?

cherusk commented 5 months ago

Hi @imrannayer thanks for reaching out.

https://github.com/terraform-google-modules/terraform-google-project-factory/blob/master/README.md

That is even stated in your Readme -> "Software Requirements".

Viably that constraint is stemming from modules this one is depending on.

imrannayer commented 5 months ago

Thats incorrect in readme only. In module we are suing >= everywhere (check version.tf files). 5.X provider version not restricted in module, you can use it.