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
Is your feature request related to a problem? Please describe.
There is no issue related to this. I am asking for a feature I'd find very useful.
Describe the solution you'd like
I'd like a data source that would retrieve all the tags associated with a tag scope. So if I have tags test:env & prod:env I could ask for all the tags in the scope env and have returned a text array of ["test","prod"]
Describe alternatives you've considered
I do not know of an alternative way to retrieve this information.
Additional context
This is to be used to create firewall rules. If you consider a scenario where VMs belonging to an application are allowed to communicate with each other but not to VMs outside the application, those VMs can be tagged wth the application name then a group populated using those VM tags. An isolating rule using that group is then created in NSX DFW.
If there's a new application the tool creating the VMs will also create a new tag for that application. I use terraform to look at a list of the application names and create a isolating rule for each application. My list is manually maintained and must match the application name in the tag. If I can query the tags in the scope Terraform could create the necessary rules for every application without requiring my manually maintained list.
NSX UI does have a view for tags in the inventory mennu, so I hope it would be simple to implement.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
There is no issue related to this. I am asking for a feature I'd find very useful.
Describe the solution you'd like
I'd like a data source that would retrieve all the tags associated with a tag scope. So if I have tags test:env & prod:env I could ask for all the tags in the scope env and have returned a text array of ["test","prod"]
Describe alternatives you've considered
I do not know of an alternative way to retrieve this information.
Additional context
This is to be used to create firewall rules. If you consider a scenario where VMs belonging to an application are allowed to communicate with each other but not to VMs outside the application, those VMs can be tagged wth the application name then a group populated using those VM tags. An isolating rule using that group is then created in NSX DFW.
If there's a new application the tool creating the VMs will also create a new tag for that application. I use terraform to look at a list of the application names and create a isolating rule for each application. My list is manually maintained and must match the application name in the tag. If I can query the tags in the scope Terraform could create the necessary rules for every application without requiring my manually maintained list.
NSX UI does have a view for tags in the inventory mennu, so I hope it would be simple to implement.
The text was updated successfully, but these errors were encountered: