Home

Awesome

<div align="center"> <img src="https://raw.githubusercontent.com/rohinivsenthil/terrastate/master/media/terrastate.png" height="130"/> </div> <h1 align="center">Terrastate</h1> <div align="center"> <strong> Monitor the state of your Terraform resources</strong> <br/> <br/> <a href="https://marketplace.visualstudio.com/items?itemName=rohinivsenthil.terrastate&ssr=false#overview"><img src="https://img.shields.io/visual-studio-marketplace/i/rohinivsenthil.terrastate" /></a> <a href="https://marketplace.visualstudio.com/items?itemName=rohinivsenthil.terrastate&ssr=false#version-history"><img src="https://img.shields.io/visual-studio-marketplace/v/rohinivsenthil.terrastate" /></a> <a href="https://marketplace.visualstudio.com/items?itemName=rohinivsenthil.terrastate&ssr=false#review-details"><img src="https://img.shields.io/visual-studio-marketplace/r/rohinivsenthil.terrastate" /></a> </div> <br />

Terrastate is a Visual Studio Code extension that can be used to monitor, deploy and destroy Terraform resources. You can find the extension here.

<div align="center"> <img src="https://user-images.githubusercontent.com/42040329/129024519-2017ff8d-229a-402d-83dd-0d623a84ec80.gif"/> <br/> <sup>Release: 1.0.0</sup> </div>

Highlighted Features

Quick start

Step 1. Install the Terrastate extension for Visual Studio Code
Step 2. Click on the Terrastate icon in the side panel
Step 3. The terraform resources defined in the workspace will be listed in the right-side tree view

Supported Commands

To view the list of commands, left-click on the directory/resource in the Terrastate View.

Directory Level

CommandDescription
Apply AllRuns terraform apply on directory level
Destory AllRuns terraform destroy on directory level
InitializeRuns terraform init on the directory
RefreshRuns terraform refresh on the directory
ValidateRuns terraform validate on the directory

Resource Level

CommandDescription
ApplyRuns terraform apply targeted on the resource
DestoryRuns terraform destroy targeted on the resource
TaintRuns terraform taint targeted on the resource
UntaintRuns terraform untaint targeted on the resource

Issues, feature requests, and contributions

Issues

Feature requests

Contributions

Contributions are always welcome!

Running the extension locally for development

  1. Clone the repository and install dependencies by running yarn install
  2. Press F5 to open a new window with your extension loaded.
  3. Run your command from the command palette by pressing (Ctrl+Shift+P or Cmd+Shift+P on Mac) and typing Terrastate: Focus on Terrastate View. Alternatively, you can also find the Terrastate icon on the side panel.

Folder structure

Making changes

Related

<!-- - Read the [launch blog] - Featured #11 Product of the day on - Featured in **Trending this week** on Visual Studio Code Marketplace -->