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

feat(lib): expose terraform functions #903

Merged
merged 32 commits into from
Sep 9, 2021
Merged

Conversation

DanielMSchmidt
Copy link
Contributor

@DanielMSchmidt DanielMSchmidt commented Aug 10, 2021

Closes #220

When this is done we should create an issue to improve convert to use the functions

@DanielMSchmidt DanielMSchmidt force-pushed the terraform-functions branch 3 times, most recently from 08b83dc to e241a44 Compare August 10, 2021 18:56
@jsteinich
Copy link
Collaborator

How does jsii handle this approach?

@DanielMSchmidt DanielMSchmidt force-pushed the terraform-functions branch 4 times, most recently from 8bf976c to 253f41c Compare August 12, 2021 13:35
@DanielMSchmidt DanielMSchmidt marked this pull request as ready for review August 12, 2021 14:35
@skorfmann
Copy link
Contributor

FYI: The type export in jsii seems to be a bit picky - see aws/jsii#1818

@DanielMSchmidt DanielMSchmidt force-pushed the terraform-functions branch 3 times, most recently from cb2ff24 to 18c32db Compare August 16, 2021 00:04
@DanielMSchmidt DanielMSchmidt force-pushed the terraform-functions branch 2 times, most recently from 67148bc to e16e1d6 Compare August 16, 2021 15:53
Copy link
Collaborator

@jsteinich jsteinich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't make it through every single function to make sure they are correct. I can keep going on them at a later date, but I think it's important to match how Tokens are used elsewhere. That could be not allowing them as arguments (since they aren't currently allowed in resource) or using them in the same manner as planned (never for strings/numbers and generally always an option for other types). It's important to maintain that consistency.

@DanielMSchmidt DanielMSchmidt dismissed stale reviews from skorfmann and jsteinich September 9, 2021 20:00

addressed the mentioned issues

@DanielMSchmidt DanielMSchmidt merged commit f35f842 into main Sep 9, 2021
@DanielMSchmidt DanielMSchmidt deleted the terraform-functions branch September 9, 2021 20:03
@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2022

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, 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 Dec 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants