Replies: 1 comment
-
@shinmog I have been looking at the rc1 of the new terraform provider and stumbled upon this This made me wonder why you would not do this at provider level and initialize multiple providers if and when necessary? Very curious to hear more on this. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Short version: Vote on how you'd like to see XPATH represented in v2 of the
panos
Terraform provider.Longer version: Currently, params that are used to create the XPATH of an object are mixed in with the spec of
the object stored at that XPATH. We are considering changing this, but would like some feedback from the community
on what they prefer. Please note that even if a particular choice is the most popular, we may choose to go with a less popular choice. This poll is just to get an idea what users would like to see.
The goal of changing how location is specified is to better bring attention to which params are used for the location of the config.
Pros:
Cons:
panos
providerpanos
v1 spec works withpanos
v2, since the location is specified differentlyIMPORTANT NOTE: since this will be a v2, voting for keeping things the way they are now does not mean that your favorite resource that you have thousands of will remain untouched and you won't have change your HCL at all. There is no guarantee that any spec will stay the same in v2. This is really just a vote for what you would prefer going forward.
Here's an example of how such a change could affect the HCL to specify an address object, for example (note that the name
location
or anything else beneath it is not finalized, so don't focus on the name, just the syntax and grouping):For more spread out objects, such as TACACS+ server profiles, between both NGFW and Panorama, these can exist within PAN-OS in numerous places:
template
/template_stack
/vsys
empty)template
andvsys="shared"
)template
andvsys="vsys1"
)template_stack
andvsys="shared"
)template_stack
andvsys="vsys1"
)vsys="shared"
)vsys="vsys1"
)Changing the above resource to this new nested approach would help clarify the intended location of the config (again, neither
location
nor any of the names underneath are finalized, just focus on the syntax):Thanks in advance!
4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions