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

Create a package for built-in functions #267

Open
joeduffy opened this issue Oct 25, 2018 · 10 comments
Open

Create a package for built-in functions #267

joeduffy opened this issue Oct 25, 2018 · 10 comments
Assignees
Labels
kind/enhancement Improvements or new features

Comments

@joeduffy
Copy link
Member

We decided to create a package, @pulumi/terraform, which contains all of the Terraform built-in functions in raw, unopinionated form (same names, same semantics). This will help significantly with conversion tooling and efforts (for instance, tf2pulumi can use it).

@joeduffy joeduffy added this to the 0.19 milestone Oct 25, 2018
@lukehoban
Copy link
Contributor

Should we close out pulumi/pulumi#1552 as a dupe of this?

@joeduffy
Copy link
Member Author

Good progress on this one, moving out of M19 but keeping in M20 as I'm sure we'll keep chipping away.

@joeduffy joeduffy modified the milestones: 0.19, 0.20 Nov 30, 2018
@lukehoban lukehoban modified the milestones: 0.20, 0.21 Jan 11, 2019
@lukehoban
Copy link
Contributor

@jen20 Should we make available the library as it currently stands and close this out and then track any remaining things to add as part of the new repo?

@jen20
Copy link
Contributor

jen20 commented Mar 7, 2019

Yes, I think that's the best solution here - I'll do that today. The remaining functions either have very unusual semantics in Terraform, or are related to IPv6. I'll publish what we have, and open issues for each remaining function.

@lukehoban lukehoban modified the milestones: 0.21, 0.22 Mar 14, 2019
@lukehoban lukehoban removed this from the 0.22 milestone Apr 12, 2019
@geoffreyprice
Copy link

Is this still an active feature request? Really hoping for cidrsubnet. Thank you!

@lukehoban
Copy link
Contributor

@jen20 Do we still have the work for this available somewhere? Would love to just publish as an NPM package in current form.

@Tirke
Copy link

Tirke commented Jul 31, 2020

Is this still a thing ?

@lukehoban
Copy link
Contributor

We haven't heard many requests/needs for this in the last 18 months, but in principle it's still "a good idea". There was a PR that made a lot of progress on this at #268, but it was never finalized. Two things:

  1. Do you have a particular need for any part of this? Would love to hear more on your scenario/needs?
  2. Definitely open to someone picking up the PR to finalize the work there if you are interested! 😄

@dferretti
Copy link

👋 I'll add one vote to the "interested" tally! We are using C# - if this were to happen I'm guessing it would need to be implemented separately in each language right? Since this isn't resource provider code there isn't any centralized golang implementation behind grpc or anything?

@AaronFriel AaronFriel added the kind/enhancement Improvements or new features label Mar 31, 2023
@shadiramadan
Copy link

shadiramadan commented Aug 4, 2023

Ah I was just looking for the equivalent CIDR helpers. Sad to see they aren't available still!
I'll just find some node equivalent :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants