Closed
Description
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
When hub policy mode configure to 'PRESET' and the preset topology is 'STAR', the argument spoke.group that should define the spoke group (center|edge) is missing in the documentation.
I got this error: - field spoke.group
must be defined when hub.policy_mode = PRESET
and hub.preset_topology = STAR
: invalid argument
New or Affected Resource(s)
google_network_connectivity_spoke, google_network_connectivity_hub
Potential Terraform Configuration
resource "google_network_connectivity_spoke" "office-0-spokes" {
for_each = var.vpc_names
name = "${each.key}-spoke"
location = "global"
hub = var.hub_uri
linked_vpc_network {
uri = google_compute_network.office-0-vpcs[each.key].id
}
group = "CENTER" || "EDGE"
}
References
No response
b/344606019