Transform tab
Last updated
Last updated
Transform tab is used to transform Terraform code into diagrams that can be presented on interactive Canvas. Operation can also be reversed.
Select all Terraform files that you want to transform into graph
As an output, you need to select or create two new files.
Click on convert.
Transform HCL JSON into Terraform code and style it with "terraform fmt" command.
Select JSON file to convert.
Select existing or create new file as an output for Terraform code.
Load JSON to canvas.
Load Graphviz and HCL data into interactive diagram. To verify data display, switch view from Text to Canvas.
Convert Terraform files into HCL and Graphviz JSON data.
Select HCL JSON and Graphviz data to be loaded into Canvas.
Switch view from Text to Canvas
If you plan to change data on Canvas, you need to Save it back to JSON file.
If you plan to change data on diagram and transform it to Terraform code, follow steps below:
Make changes on diagram.
Click on "Save Canvas JSON to file"
Select existing or type new file name.
Verify that file was updated with new data.