Skip to main content
Solved

Multi tags in NPA Apps with Terraform

  • July 7, 2023
  • 3 replies
  • 113 views

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:

 

 

 

 


 

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+16
  • Netskope Employee
  • Answer
  • 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
  • Author
  • 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.