Skip to main content
Solved

Multi tags in NPA Apps with Terraform


mgoetz
Netskope Partner
Forum|alt.badge.img+2

Hello,

I would like to use multiple tags for private apps.

What would be the syntax here?

tags { tag_name = "TEST, TEST1, TEST3" } ?

I would be grateful for your help.

Marco

Best answer by sshiflett

@mgoetz I just tested with Terraform and it works if you separate each tag into an its own element:

 

 

 

 


 

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+16
  • Netskope Employee
  • July 7, 2023

@mgoetz I just tested with Terraform and it works if you separate each tag into an its own element:

 

 

 

 


 


mgoetz
Netskope Partner
Forum|alt.badge.img+2
  • Netskope Partner
  • July 10, 2023

Thank you very much for the answer. This looks very good. I will let the customer test and get back to you .... 😀


Forum|alt.badge.img+2
  • New Member
  • May 14, 2024

@sshiflett adding tag arguments as needed to the private application resource is an inefficient way of assigning tags to resources. 
The tag_name attribute of the tag argument ideally should be updated to support the list(strings) type constraint. Then multiple tag values can be specified as a list of strings in the tfvars for the specific private application resource.

The 30-character limit imposed on the tag name attribute is also too restrictive IMO. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings