-
Notifications
You must be signed in to change notification settings - Fork 84
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
transport_zone_path is not optional on nsxt_policy_segment resource #742
Comments
Hi @scharrier-revolve, |
Hello @annakhm you can consider it as a enhancement ask, as you wish You're right there is no functional issue to supplying it but on VMC there is only one TZ available : vmc-overlay-tz. About It can be verified by doing a GET API call on "transport_zone_path": "/infra/sites/default/enforcement-points/vmc-enforcementpoint/transport-zones/00aa0a00-0000-0a00-0aa0-0aa00aaa0000", segments created by NSX-T UI will not have the property Best regards, |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
Hi @scharrier-revolve, if you create |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
Hey, Best regards |
Describe the bug
When creating a nsxt_policy_segment on a custom Tier-1 using VMC SDDC 1.18 version the argument transport_zone_path is not optional (but it is optional in the documentation - https://registry.terraform.io/providers/vmware/nsxt/latest/docs/resources/policy_segment#transport_zone_path)
So you must specify nsxt_policy_transport_zone resource before creating the segment :
This is not useful because in VMC there is only one existing Transport Zone (vmc-overlay-tz) and when you create a segment from NSX-T UI you don"t need to provide any Transport Zone parameter and the transport_zone_path field is not present in the NSX-T API
Terraform error detail :
Reproduction steps
Expected behavior
nsxt_policy_segment must be able to be created without need to provide transport_zone_path argument on VMC
Consider documentation should be updated in this context (using VMC SDDC 1.18/NSX-T 3.1.5 versions when creating segments on custom Tier-1)
Additional context
Coming to VMC SDDC 1.18/NSX-T 3.1.5 versions Multi Tier-1 support is possible
nsxt_policy_segment must be used when you creating a segment under a custom Tier-1 instead of nsxt_policy_fixed_segment
nsxt_policy_fixed_segment still needed for segments created under default Tier-1 (cgw)
The text was updated successfully, but these errors were encountered: