Skip to content

Dynamic parameters #2

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from
Draft

Dynamic parameters #2

wants to merge 29 commits into from

Conversation

Emyrk and others added 29 commits March 14, 2025 12:09
Referencing a block that uses `count`, and accessing it's arguments
returns a nil value.
Instances of a block were being saved as "<name>[<idx>] = val" to the
eval context. `expandBlocks` correctly saves it as a tuple
    "<name> = [val, ...]"
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
…for_each

Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
Do not expand unknown `count` blocks. Run `expandBlocks` in eval to
allow submodule returns to affect the `count` when using module
outputs.
The depth of submodule evalutation is still limited
Module counts are incorrectly being handled
evaluateStep handles many terraform semantics such as default
values for 'variables'. A hook into these steps allows defining
additional semantics, likely to mirror those of the actual provider
implementation.
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants