Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
I should be able to create a google_compute_global_forwarding_rule even though my project's default network tier is STANDARD. When it failed, I expected there to be a network_tier attribute (with PREMIUM as the default value) so that it would work.
Actual Behavior
I got the following error message:
│ Error: Error creating GlobalForwardingRule: googleapi: Error 400: STANDARD network tier (the project's default network tier) is not supported: STANDARD network tier is not supported for global forwarding rule., badRequest
And I was not able to set the network_tier manually because this attribute isn't there, so I had to temporarily set the project's default network tier as PREMIUM.
It is necessary to thoroughly review whether it is mandatory to use a PREMIUM tier for this type of configuration since nothing related appears in the terraform registry
Community Note
Terraform Version & Provider Version(s)
OpenTofu v1.8.6 on
Affected Resource(s)
google_compute_global_forwarding_rule
Terraform Configuration
Debug Output
No response
Expected Behavior
I should be able to create a google_compute_global_forwarding_rule even though my project's default network tier is STANDARD. When it failed, I expected there to be a network_tier attribute (with PREMIUM as the default value) so that it would work.
Actual Behavior
I got the following error message:
│ Error: Error creating GlobalForwardingRule: googleapi: Error 400: STANDARD network tier (the project's default network tier) is not supported: STANDARD network tier is not supported for global forwarding rule., badRequest
And I was not able to set the network_tier manually because this attribute isn't there, so I had to temporarily set the project's default network tier as PREMIUM.
Steps to reproduce
terraform apply
Important Factoids
From what I've seen here in the latest source code version, the attribute network_tier still isn't there: https://github.com/hashicorp/terraform-provider-google/blob/main/google/services/compute/resource_compute_global_forwarding_rule.go
References
No response
b/381438021