👩‍💻Code and Deployment

Our platform autogenerates Terraform code to provision your architecture based on your diagram. The code can be reviewed, edited, and deployed directly from the platform.

Viewing the Code

The generated Terraform code for a specific resource can be viewed in the codebox in the Properties tab of the sidebar.

Codebox in the sidebar

To see the full generated code for the entire architecture, click the "See Code" button at the top left. This will open the code in a full editor.

Button in the top left corner

Editing the Code

Edits can be made directly in the codebox for a resource to customize its configuration. For larger changes, the full code can be edited in the code editor.

Changes made in the code are automatically synced back to the architecture diagram. It is recommended to rename resources for better readability.

Editing code in the full editor

Deployment

Currently, architectures can be deployed directly from the platform by adding AWS credentials in the settings. The credentials are encrypted and used to provision the resources defined in the diagram.

In the future, we plan to support linking Git repositories and using pull requests to deploy changes.

Settings to set Credentials

Last updated