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.
β·
β Error: Error creating DNS RecordSet: googleapi: Error 400: Routing policies referencing internal load balancers cannot be added to public zones, internalLoadBalancerDisallowedInPublicZone
β
β with module.network.google_dns_record_set.a,
β on network/dns_test.tf line 1, in resource "google_dns_record_set" "a":
β 1: resource "google_dns_record_set" "a" {
β
β΅
Steps to reproduce
terraform apply
Important Factoids
I'm using default application authentication instead of service account.
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.5 on linux_amd64
Affected Resource(s)
google_dns_record_set
Terraform Configuration
Debug Output
https://gist.github.com/nicku1/d911aede54ac832e0552d798e17f64af
Expected Behavior
Example provided in https://registry.terraform.io/providers/hashicorp/google-beta/latest/docs/resources/dns_record_set should end up with successful provisioning of DNS rule.
Actual Behavior
Error message:
Steps to reproduce
terraform apply
Important Factoids
I'm using default application authentication instead of service account.
References
https://github.com/hashicorp/terraform-provider-google/issues/13269
b/363269342