Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP collection field is missing in google_compute_forwarding_rule to support BYOIP IPv6 address #18407

Open
mrprakashb opened this issue Jun 12, 2024 · 1 comment · May be fixed by GoogleCloudPlatform/magic-modules#11010

Comments

@mrprakashb
Copy link

mrprakashb commented Jun 12, 2024

Community Note

  • 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.

Description

Attribute missing to provide IPV6 collection details when trying to create external forwarding rules using BYOIP ipv6 address.

I'm trying to create external pass through network load balancer with ipv6 protocol to forward the packets to backend services (instance groups) .

Code:
resource "google_compute_forwarding_rule" "veco_forwarding_rule_ipv6" {
provider = google-beta
project = var.project
name = "frontend_rule_name_ipv6"
region = var.region
backend_service = google_compute_region_backend_service.veco_backend.self_link
ports = local.veco_frontend_fwd_rule
ip_protocol = "TCP"
ip_version = "IPV6"
load_balancing_scheme = "EXTERNAL"
ip_address = "2605:XXXXXXXXXXXXXXXXXXX::/96"
network_tier = "PREMIUM"
}

Error:

│ Error: Error creating ForwardingRule: googleapi: Error 400: Invalid value for field 'resource.subnetwork': ''. Subnetwork or Ip Collection must be specified for IPv6 forwarding rules., invalid

New or Affected Resource(s)

  • google_compute_forwarding_rule

Potential Terraform Configuration

References

No response

b/347720203

@melinath
Copy link
Collaborator

melinath commented Jun 17, 2024

note from triage: ipCollection field is documented here: https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules

@melinath melinath added size/s and removed forward/review In review; remove label to forward labels Jun 17, 2024
@melinath melinath added this to the Goals milestone Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants