28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.03k stars 256 forks source link

Graphs not working as expected with HCL2 #68

Open dexterac opened 4 years ago

dexterac commented 4 years ago

I noticed the graph generated is not interactive when using HCL2 syntax vs the old.

Is there a solution available for this?

gvcgael commented 4 years ago

Same problem over here. Any idea ?

SebastianAtWork commented 4 years ago

I made a Pull Request that updates pyhcl and fixes some of the syntax errors : https://github.com/28mm/blast-radius/pull/79 but unfortunately not all

SebastianAtWork commented 4 years ago

I closed the PR as its not really helping enough

techdragon commented 4 years ago

May need to use https://github.com/amplify-education/python-hcl2 instead of pyhcl since pyhcl doesn't appear to be targeting HCL2.

obourdon commented 3 years ago

Indeed this is th only way to go. See this link for my successful implementation