tfmermaid-action
tfmermaid-action copied to clipboard
`tfmermaid-action` does not work with `terraform-version >= 1.7`
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