ZIA URL category - known only after apply #436
Unanswered
carsten-re
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm kindly asking if someone already have a solution for this:
I want to create dynamically URL categories where the content is coming from a CSV file.
My Terraform code is already working at a very basic level, but I my challenge is the "category_id" value in the planning phase.
The resource is created in a for_each loop.
My "bad" workaround is, that the key value of this resource is the "configured_name". The downside is, that when this value in CSV file is changed, Terraform will destroy it...
My goal would be to somehow get the next available ID (like CUSTOM_07) when Terraform is in planning phase.
Any idea how to solve this?
Beta Was this translation helpful? Give feedback.
All reactions