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): Add support for for expressions #1130

Closed
wants to merge 1 commit into from
Closed

Conversation

ansgarm
Copy link
Member

@ansgarm ansgarm commented Oct 7, 2021

Adds an TFExpression to express a Terraform expression like [for i in var.list: i+1]

I built this while working on support for Fn::Cidr for #1123. Turns out I did not need it 😅

So I moved it into this draft PR and thought I'd let you vote:
👍 - write tests for it and get it merged
👎 - ditch it, close this PR and hope someone remembers it, when might we need support for it

P.S. The interesting part starts in line 123 👇

@ansgarm ansgarm changed the title feat(cdktf): Add support for for expressions feat(cdktf): Add support for for expressions Oct 7, 2021
adds an TFExpression to express a Terraform expression like `[for i in var.list: i+1]`
@ansgarm ansgarm force-pushed the add-for-expression branch from 7c2b3cd to 953892d Compare October 7, 2021 19:10
@ansgarm ansgarm changed the title feat(cdktf): Add support for for expressions feat(lib): Add support for for expressions Oct 7, 2021
@jsteinich
Copy link
Collaborator

It does need more than just tests as it won't be supported in jsii as is so it may make sense to wait on it, but it could definitely be useful.

@jsteinich jsteinich mentioned this pull request Oct 25, 2021
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 12, 2022

CLA assistant check
All committers have signed the CLA.

@skorfmann
Copy link
Contributor

Closing for now

@skorfmann skorfmann closed this Mar 21, 2022
ansgarm added a commit that referenced this pull request Jul 11, 2022
Code copied and adjusted from my former (and later closed) PR #1130
ansgarm added a commit that referenced this pull request Jul 19, 2022
Code copied and adjusted from my former (and later closed) PR #1130
ansgarm added a commit that referenced this pull request Jul 19, 2022
Code copied and adjusted from my former (and later closed) PR #1130
ansgarm added a commit that referenced this pull request Jul 20, 2022
Code copied and adjusted from my former (and later closed) PR #1130
ansgarm added a commit that referenced this pull request Jul 21, 2022
Code copied and adjusted from my former (and later closed) PR #1130
ansgarm added a commit that referenced this pull request Jul 22, 2022
Code copied and adjusted from my former (and later closed) PR #1130
DanielMSchmidt pushed a commit that referenced this pull request Jul 28, 2022
Code copied and adjusted from my former (and later closed) PR #1130
@github-actions
Copy link
Contributor

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 Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants