Import existing Terraform
Flowright isn’t a one-way generator you have to commit to. The canvas and the code are two views of the same design, so you can start from Terraform you already have.
Round-trip, both directions
Section titled “Round-trip, both directions”The byte-perfect round-trip runs both ways. Generation (canvas → HCL) and parsing (HCL → canvas) come from the same definition, so importing your code and exporting it again is byte-identical — references reconstruct onto the exact socket they came from.
-
Paste or open your Terraform. Flowright parses the HCL into a resource graph.
-
It lands on the canvas. Each resource becomes a node;
aws_x.y.attrreferences reconnect to the right ports automatically. -
Edit visually. Add a cache, re-wire a role, change an instance size — on the canvas or in the code, whichever you prefer.
-
Export it back. The generated HCL matches what you’d hand-write, validated against the AWS provider schema.
Why it matters
Section titled “Why it matters”You don’t have to choose between “the tool that draws” and “the tool that ships.” Bring your
existing infrastructure in, work on it visually, and hand the same Terraform to your normal
plan/apply pipeline — no rewrite, no lock-in.