old Inkdrop Documentation
  • Getting Started
    • 🚀Getting Started
  • FAQ
    • 📃FAQ
  • Core Concepts
    • 🧱Resource
    • 🔗Connector
    • 📦Wrapper
    • 📋Sidebar
    • 👩‍💻Code and Deployment
    • ⚙️Overriding Properties with the Codebox
  • Ressources
    • S3 Bucket
    • Lambda Functions
    • IAM Roles
    • API Endpoint
    • Fargate
    • Dynamo DB
    • RDS
    • SQS
    • SNS
  • Custom Code
    • Validating your cloud architecture
Powered by GitBook
On this page
  • Viewing the Code
  • Editing the Code
  • Deployment
  1. Core Concepts

Code and Deployment

PreviousSidebarNextOverriding Properties with the Codebox

Last updated 1 year ago

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 .

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.

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.

The generated code can currently not easily be combined with external Terraform that was not created in the platform. New resources added directly in code should be placed in the designated folder in the code 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.

👩‍💻
sidebar
Codebox in the sidebar
Button in the top left corner
Editing code in the full editor
Settings to set Credentials