Running into an issue with Packer and multiple port groups with the same name.
With the new go mini 0.27, it calls out that with NSX, portgroups can have the same name, even within the same switch, and that you can use a switch UUID or segment ID as both are considered to be unique in the environment.
The question now is whether or not Packer will leverage the segment ID when passed in as some kind of name.
And
Looks like Packer is using govmomi 0.26.1 and support for using the Segment ID was added in 0.27.