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

Extend plugin protocol to allow providers to define custom terraform functions #25940

Closed
iwarapter opened this issue Aug 20, 2020 · 4 comments
Closed
Labels
enhancement functions providers/protocol Potentially affecting the Providers Protocol and SDKs

Comments

@iwarapter
Copy link

Use-cases

Providers could supply additional helper functions to make using their resources more easy, instead of using local-exec or other hacks for functionality not provided by the core terraform functions.

Proposal

Allow providers to expose terraform functions
https://www.terraform.io/docs/configuration/functions.html

References

https://discuss.hashicorp.com/t/extendable-terraform-functions/13023

@iwarapter iwarapter added enhancement new new issue not yet triaged labels Aug 20, 2020
@iwarapter iwarapter changed the title Extend plugin protocol to allow provides to define custom terraform functions Extend plugin protocol to allow providers to define custom terraform functions Aug 20, 2020
@mildwonkey
Copy link
Contributor

HI @iwarapter ! Thank you for opening this feature request - it's an interesting idea! Can you give some examples of your use-case? I would think that any function that would be useful for a single provider would be something we would want to enable for all users, so I'm very curious to hear what kind of provider-specific functions you are thinking of!

@pkolyvas pkolyvas removed the new new issue not yet triaged label Oct 27, 2020
@bflad bflad added functions providers/protocol Potentially affecting the Providers Protocol and SDKs labels Dec 1, 2021
@iwarapter
Copy link
Author

Hi @mildwonkey, sorry for the extremely late reply 😂 .

I was originally looking for support for more crypto specific functions, such as RSA/EC to JWKS transformation. However I think this (specific) use-case might actually be best suited in terraform. I have raised #30419 to track this and #30420 as a draft implementation.

Thanks!

@apparentlymart
Copy link
Contributor

Hi @iwarapter!

As I mentioned over in #30419, I'm going to close this in favor of the existing #2771, just to consolidate the discussion. I'm sorry we didn't notice this was a duplicate when you originally opened it.

Thanks!

@github-actions
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement functions providers/protocol Potentially affecting the Providers Protocol and SDKs
Projects
None yet
Development

No branches or pull requests

5 participants