tfmermaid-action icon indicating copy to clipboard operation
tfmermaid-action copied to clipboard

`tfmermaid-action` does not work with `terraform-version >= 1.7`

Open sharathrnair87 opened this issue 6 months ago • 0 comments

Significant changes to the terraform graph outputs since the last release of this action means that the index.mjs file no longer parses the output of the graph command properly.

Steps to reproduce:

Terraform version < 1.7.x terraform graph | node index.mjs -- Produces the necessary mermaid chart

Terraform version >= 1.7.x terraform graph | node index.mjs -- Does not generate the mermaid chart (only the default scaffolding generated by dumpStatements() )

Note: I have only managed to test it with the following versions 1.6.0 - Works 1.7.0 - Does not work

sharathrnair87 avatar Aug 20 '24 01:08 sharathrnair87