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.
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: