CodefaceTerraform Code View

Terraform Code View

How Codeface turns your canvas into Terraform, and how to review it.

Updated November 20261 min read

The Terraform tab shows the exact HCL Codeface has generated from your current canvas. There's no hidden translation layer — what you see here is what gets committed and applied.

The Terraform tab showing generated main.tf with AWS, Azure, and GCP provider blocks and a file tree for the environment

What gets generated

  • A resource block for every resource on the canvas, with the fields you configured
  • References and implicit dependencies for every connection you drew between resources
  • A backend.tf pointing at the remote state backend configured for the current environment — see State & Backends
  • A module block for every module instance you've placed — see Modules & Templates

Reviewing changes

Every edit to the canvas updates the Terraform view live, so you can review the exact diff before you do anything with it. This is the same diff that goes into a pull request when you open one.

Keeping your own code alongside it

If you maintain Terraform resources that didn't come from Codeface — a hand-written module, a resource type outside the catalog — those files are left untouched when Codeface publishes its own generated files. See Hybrid Infrastructure.

Terraform vs. OpenTofu

Codeface generates standard Terraform HCL. The CI workflow Codeface generates for applying changes runs Terraform; if your team has standardized on OpenTofu instead, check with your Aezona account team about current compatibility before relying on it for production applies.

Permissions

Viewing the Terraform tab is available to everyone with access to an environment, including Viewers. Editing the canvas that produces it requires Developer role or above. See Account Types & Roles.

Previous
Modules & Templates
Next
Importing Existing Infrastructure