Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change (add?) tfid data source into a provider function #79

Closed
Tracked by #66
migara opened this issue Apr 19, 2024 · 1 comment · Fixed by #157
Closed
Tracked by #66

Change (add?) tfid data source into a provider function #79

migara opened this issue Apr 19, 2024 · 1 comment · Fixed by #157

Comments

@migara
Copy link
Member

migara commented Apr 19, 2024

Starting from Terraform 1.8, provider developers can now add provider functions to perform general util tasks that are not covered by Terraform core util functions.

We can add the generation of a tfid as a provider function

@migara migara mentioned this issue Apr 19, 2024
21 tasks
@shinmog
Copy link
Collaborator

shinmog commented Apr 25, 2024

It seems like custom functions take a specific set of inputs, and then give you an output. Since there are many moving parts to creating a tfid, I'm feeling like the user experience of creating the tfid is better as a data source... especially since creating a tfid now has a rules section which is a list of structs..

These custom Functions also don't get access to the PAN-OS API, so I'm not certain how many useful things we could do with this limitation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants