Skip to content

Chieze-Franklin/terraform-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Visualizer

Netlify Status

standalone.mp4

Terraform Visualizer displays the resources in your Terraform config (and the relationships among resources) using a graph of nodes (for the resources) and edges (for the relationships).

This app can run as a standalone app (https://terraform-visualizer.netlify.app/) or within the Terraformer VS Code extension.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Running the App

Start the app locally by running npm start. Alternatively, visit the Netlify deployment.

Reading Content from Files

You can provide the Terraform config by selecting one or more Terraform files from your local machine.

You do this by clicking the upload icon ( ) at the bottom left and then selecting the relevant files.

standard.mp4

Reading Content from the Text Editor

You can provide the Terraform config by typing it into the in-app text editor

You do this by clicking the code icon ( ) at the bottom left. This brings up a text editor into which you can begin typing.

modals.mp4

Loading Content from URL

You can provide the Terraform config via the URL using the content URL query.

http://localhost:3000/?content={ URL-ENCODED CONTENT }

First, use any URL-encoder (e.g. https://www.urlencoder.org/) to encode the Terraform config.

image

Then, provide the encoded value in the URL by assigning it to the content query.

image

About

terraform-visualizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published