MCPcopy Index your code
hub / github.com/adamiBs/vscode-terraform-live-graph

github.com/adamiBs/vscode-terraform-live-graph @0.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.5 ↗ · + Follow
14 symbols 28 edges 4 files 0 documented · 0% updated 3y ago★ 23911 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Terraform Live Graph Extension for VSCode Tweet

Price Downloads

The Terraform Graph Extension for Visual Studio Code is a plugin that allows you to generate a live Terraform graph as you code. This extension makes it easy to visualize your infrastructure and the relationships between resources, helping you to understand how your infrastructure is configured.

GIF of a demo of the extension

Installation

Prerequisites

  1. Install terraform from: https://developer.hashicorp.com/terraform/downloads?product_intent=terraform
  2. Install graphviz from: https://graphviz.org/download/
  3. VS Code updated to at least v1.75.1 of above.

Extension Installation

  1. Open Visual Studio Code.
  2. Click on the Extensions icon on the left-hand side of the screen (Ctrl+Shift+X).
  3. Search for "Terraform Live Graph" and click "Install".
  4. Restart Visual Studio Code.

Usage

  1. Open a Terraform file in Visual Studio Code
  2. Activate the extension by selecting "Terraform Graph View" from the Command Palette (CMD+Shift+p/Ctrl+Shift+p or F1 opens the Command Palette).
  3. A live graph of your Terraform code will appear on the right-hand side of the screen
  4. As you write your Terraform code, the graph will update in real-time to reflect your changes

Requirements

  • Terraform must be installed on your system and accessible from the command line (Download)
  • The Terraform files must be in a valid format

Issues and Contributions

If you encounter any issues or have any suggestions for improvements, please open an issue on the GitHub repository.

If you would like to contribute to the development of this extension, please follow the instructions here.

License

This extension is licensed under the MIT License. See the LICENSE file for more information.

Core symbols most depended-on inside this repo

updateWebviewContent
called by 2
src/vscodeTerrafromGraph.ts
executeCommand
called by 2
src/commandExecutor.ts
graphExecutionWrapper
called by 1
src/vscodeTerrafromGraph.ts
registerFileWatcher
called by 1
src/vscodeTerrafromGraph.ts
getWebviewContent
called by 1
src/vscodeTerrafromGraph.ts
buildWebViewHTML
called by 1
src/vscodeTerrafromGraph.ts
executeTerraformGraphCommand
called by 1
src/commandExecutor.ts
executeDotGraphCommand
called by 1
src/commandExecutor.ts

Shape

Method 8
Class 4
Function 2

Languages

TypeScript100%

Modules by API surface

src/vscodeTerrafromGraph.ts7 symbols
src/commandExecutor.ts5 symbols
src/extension.ts2 symbols

For agents

$ claude mcp add vscode-terraform-live-graph \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page