Skip to content

Better support for "foreach" using sets or lists#224

Open
Kolky wants to merge 2 commits intocycloidio:masterfrom
Kolky:feature/support-foreach-map
Open

Better support for "foreach" using sets or lists#224
Kolky wants to merge 2 commits intocycloidio:masterfrom
Kolky:feature/support-foreach-map

Conversation

@Kolky
Copy link
Copy Markdown

@Kolky Kolky commented Jun 21, 2023

When using "foreach" in your terraform a lot of nodes end up missing in the generated graph. I adapted the state.go generator to detect instances of resources either by their index or by their name (if using maps/sets). I post fix the name of a resource with ! and then either the index or name of the resource.

This PR also includes additional azure nodes, because it mostly contained network related things and is missing some common other nodes.

Example:
dwh-insights-azurefunctions test terraform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant