Terraform Visualizer is a Visual Studio Code extension that helps you visualize and manage your Terraform and OpenTofu plans. This extension provides a user-friendly interface to view and filter changes in your Terraform/OpenTofu plans, making it easier to understand and manage your infrastructure changes.
- Visualize Terraform and OpenTofu Plans: View detailed changes in your Terraform/OpenTofu plans with a clear and concise interface.
- Filter Changes: Easily filter changes by action (create, update, delete).
- Search Changes: Easily search for specific changes with a full text search bar.
- Toggle Details: Expand and collapse detailed views of changes to focus on the information you need.
- Highlight Differences: Show the differences for all the changes
- Terraform: Ensure you have Terraform installed on your system. You can download it from the official Terraform website.
- OpenTofu: Ensure you have OpenTofu installed on your system. You can follow the official documentation
Run your terrafrom plan with:
terraform plan -out=plan && terraform show -json plan > tfplan.json
tofu plan -out=plan && tofu show -json plan > tfplan.json
Then open TF-visualizer in vs-code command:
- Large Plans: Performance may be impacted when visualizing very large Terraform plans. We are working on optimizations to improve this.
- Initial release of Terraform Visualizer.
- Visualize Terraform plans with detailed views.
- Filter changes by action.
- Search functionality to find specific changes.
- Improve the UI.
- Visualize the
terraform graph -type=plan