You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vsphere_network network resource fails when multiple PortGroup with the same name are created in the environment with the following error:
terraform data.vsphere_network.network: error fetching network: path resolves to multiple networks
This is restrictive in an environment with multiple clusters with their own DVS but the same networks (as PortGroup is a DVS object, names can be repeated across DVS). It blocks the usage of the Terraform Provider in those environments.
Would it be possible to solve this by allowing the user to pick his DVS as an optional argument of the vsphere_network resource?
Thank you
The text was updated successfully, but these errors were encountered:
Hi @tvigneron
Can you mention the VC version.
Also I tried to reproduce the issue, from the vsphere UI, one can't create PortGroup with the same name under different DVS switches in same DC. It will throw an error that a port group with the same name already exists unless you have put the DVS switches under different directories.
Can you tell me more about your vsphere structure, as to how did you create the duplicate port groups.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!
ghost
locked and limited conversation to collaborators
Sep 11, 2020
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
Hello,
The vsphere_network network resource fails when multiple PortGroup with the same name are created in the environment with the following error:
terraform data.vsphere_network.network: error fetching network: path resolves to multiple networks
This is restrictive in an environment with multiple clusters with their own DVS but the same networks (as PortGroup is a DVS object, names can be repeated across DVS). It blocks the usage of the Terraform Provider in those environments.
Would it be possible to solve this by allowing the user to pick his DVS as an optional argument of the vsphere_network resource?
Thank you
The text was updated successfully, but these errors were encountered: