blast-radius icon indicating copy to clipboard operation
blast-radius copied to clipboard

Graphs not working as expected with HCL2

Open dexterac opened this issue 5 years ago • 5 comments

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

Is there a solution available for this?

dexterac avatar Sep 20 '19 18:09 dexterac

Same problem over here. Any idea ?

gvcgael avatar Oct 25 '19 07:10 gvcgael

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 avatar May 26 '20 08:05 SebastianAtWork

I closed the PR as its not really helping enough

SebastianAtWork avatar May 26 '20 08:05 SebastianAtWork

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

techdragon avatar Jun 15 '20 02:06 techdragon

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

obourdon avatar Dec 08 '20 16:12 obourdon