PaloAltoNetworks / terraform-provider-panos

Terraform Panos provider
https://www.terraform.io/docs/providers/panos/
Mozilla Public License 2.0
87 stars 69 forks source link

Add data source for panos_panorama_administrative_tag #415

Open chris3ware opened 8 months ago

chris3ware commented 8 months ago

Is your feature request related to a problem?

Unable to use the terraform provider to query panorama for existing administrative tags.

Describe the solution you'd like

I'd like to be able to check if an administrative tag exists prior creating / updating.

Describe alternatives you've considered

Additional context

The intention is separate the security policy state files per line of business using the panos_security_rule_group resource. Administrative tags could potentially be shared between different state files. Being able to check if a tag exists, using a data source, will prevents tags from being overwritten by applies from different states.

welcome-to-palo-alto-networks[bot] commented 8 months ago

:tada: Thanks for opening your first issue here! Welcome to the community!