Issues with Terraform google provider version 5.6.0 & 5.7.0
akashchauhan29 opened this issue · 0 comments
Hello,
We just upgraded our terraform google provider version to 5.6.0 then to 5.7.0, In both of these versions there is an issue where when we try to create a new environment from scratch, It gives an error in Terraform plan:-
The problem is that resource is only created in the same module so terraform plan failing is not a valid case obviously subnet will not be present because it’s not created yet as it gets created in same module, so why terraform plan trying to access the resource, earlier terraform plan is not supposed to check if the resource is present or not but in gcp google provider version 5.6.0 & 5.7.0 it is trying and failing even before apply, this is kind of a deadlock for us in new deployments.
This issue we only faced in in 5.x series provider and in 4.84.0 there are no issues like this.