-
Notifications
You must be signed in to change notification settings - Fork 459
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
Conversation
for
expressions
adds an TFExpression to express a Terraform expression like `[for i in var.list: i+1]`
7c2b3cd
to
953892d
Compare
for
expressionsfor
expressions
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. |
Closing for now |
Code copied and adjusted from my former (and later closed) PR #1130
Code copied and adjusted from my former (and later closed) PR #1130
Code copied and adjusted from my former (and later closed) PR #1130
Code copied and adjusted from my former (and later closed) PR #1130
Code copied and adjusted from my former (and later closed) PR #1130
Code copied and adjusted from my former (and later closed) PR #1130
Code copied and adjusted from my former (and later closed) PR #1130
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. |
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 👇