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

nsxt_policy_vlan_segment does not allow to use a range of vlan IDs #338

Closed
mdegrasse opened this issue Jun 2, 2020 · 1 comment
Closed

Comments

@mdegrasse
Copy link

mdegrasse commented Jun 2, 2020

can't use range 0-4094 as vlan id (typically used to create trunk segments).

This is permitted in the GUI and via policy API but not working in terraform

resource "nsxt_policy_vlan_segment" "S10000-TRUNK-UPLINK6" {
display_name = "S10000-TRUNK-UPLINK6"
description = "Trunk VLAN for Edge Hosts"
transport_zone_path = data.nsxt_policy_transport_zone.tz-vlan.path
vlan_ids = ["0-4094"]
advanced_config { uplink_teaming_policy = "FailoverOnly" }
}

Returns error -> Error: cannot convert 0-4094 to int

@annakhm
Copy link
Collaborator

annakhm commented Jun 8, 2020

Thanks for reporting this! Fixed with https://github.com/terraform-providers/terraform-provider-nsxt/pull/342

@annakhm annakhm closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants