I believe I figured it out by adding an additional constraint tag associated with the project in the resources. In order for this to work however, every vlan has to have the project tag and a tag for the name. So in the Network Profiles, "name-VLAN2" needs to have the tags "name-VLAN2" and "Tenant:nameInfra." Is this the correct way to do this or is there an easier method?
resources:
Cloud_vSphere_Machine_1:
type: Cloud.vSphere.Machine
properties:
image: '${input.Image}'
flavor: '${input.VM_Size}'
name: '${input.Name}'
networks:
- network: '${resource.Cloud_vSphere_Network_1.id}'
customizationSpec: '${input.CustomizationSpec}'
folderName: '${input.folderName}'
vlanID: '${input.network}'
Cloud_vSphere_Network_1:
type: Cloud.vSphere.Network
properties:
networkType: existing
constraints:
- tag: '${input.network}'
- tag: 'Tenant:nameInfra'