Visualize, import, and generate Terraform infrastructure diagrams directly inside VS Code — powered by CloudForge.
Compatible with VS Code, Kiro, and any VS Code-based IDE.
Features
- Import Terraform folders — Open any folder of
.tf files and instantly see an interactive diagram
- Generate Terraform — Draw a diagram and export production-ready HCL
- Bidirectional sync — Edit
.tf files and watch the diagram update live
- Multi-cloud — Azure, AWS, and GCP resource support out of the box
- @cloudforge Copilot Chat — Manipulate your diagram and get expert advice using natural language
- Save & load diagrams — Persist diagrams to your CloudForge account and reload across sessions
- Free tier — No credit card required
Getting Started
- Install the extension and click the CloudForge icon in the Activity Bar
- Sign in with your CloudForge account (free tier available)
- Open a Terraform file or use Import Folder to load an existing project
- Your diagram appears live alongside your code
@cloudforge Copilot Chat
Requires GitHub Copilot Chat. Type @cloudforge in the chat panel to interact with your diagram using natural language.
Diagram Manipulation
These commands directly modify the canvas:
| Example prompt |
What happens |
@cloudforge add a Linux VM |
Adds the resource to the diagram |
@cloudforge add a storage account called my_storage |
Adds with a specific label |
@cloudforge connect web_vm to my_storage |
Draws a connection between two nodes |
@cloudforge remove web_vm |
Deletes the node and its edges |
@cloudforge clear the diagram |
Wipes the entire canvas |
@cloudforge build a 3-tier web app |
Generates a full architecture pattern |
@cloudforge what's on the diagram |
Describes current resources and connections |
Advisory — Pricing, Security & Validation
These prompts stream a full Copilot answer using your live diagram and Terraform code as context:
| Topic |
Example prompt |
| Pricing / cost |
@cloudforge what will this infrastructure cost per month? |
| Security review |
@cloudforge review this for security issues |
| Terraform validation |
@cloudforge validate my Terraform for best practices |
| Compliance |
@cloudforge is this architecture CIS-benchmark compliant? |
| Deployment |
@cloudforge how do I deploy this to Azure? |
| High availability |
@cloudforge how do I make this setup highly available? |
| Optimization |
@cloudforge how can I reduce cost on this architecture? |
| Architecture advice |
@cloudforge what's the difference between App Service and AKS here? |
| Networking |
@cloudforge explain the network topology |
| Best practices |
@cloudforge any recommendations for this setup? |
The intent is detected automatically — advisory questions get a streamed expert answer, action phrases manipulate the diagram.
Commands
| Command |
Description |
CloudForge: Sign Out |
Sign out of your CloudForge account |
CloudForge: Refresh Diagram |
Re-parse the current Terraform file |
Extension Settings
| Setting |
Default |
Description |
cloudforge.apiUrl |
https://cloudforge.cloud |
API base URL — change only if self-hosting |
Requirements
- A free CloudForge account
- GitHub Copilot Chat (for
@cloudforge AI features)
Feedback & Support
| |