Skip to main content

Command Palette

Search for a command to run...

Terraform Visualization

Updated
โ€ข2 min readโ€ขView as Markdown
Terraform Visualization
J
Hi there! I'm a Cloud Engineer & SRE, documenting my transition into AI/ML Platform Engineering. I write technical deep-dives, hands-on implementation guides, CLI helper scripts, and visual architectures covering cloud, infrastructure, orchestration, governance, and modern AI runtimes.

You can visualize ๐Ÿ”Ž the components used to build your terraform plan executions with ๐˜๐—ฒ๐—ฟ๐—ฟ๐—ฎ๐—ณ๐—ผ๐—ฟ๐—บ ๐˜ƒ๐—ถ๐˜€๐˜‚๐—ฎ๐—น available at: https://hieven.github.io/terraform-visual/

The config in this gif is from a lab I'm working on deploying AWS IAM objects which include local custom modules, meta-arguments, variable types and expressions:

I only recently started looking into terraform visualization tools and have experimented with this one and ๐˜๐—ฒ๐—ฟ๐—ฟ๐—ฎ๐—ณ๐—ผ๐—ฟ๐—บ ๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต so far. Terraform graph adds a bit of granularity to the visualization as it includes all components such as variables, providers, etc. However, it can be a bit more difficult to follow the code logic at first glance depending on complexity. Here's the png output from my AWS IAM lab using terraform graph:

If you're on Ubuntu/Debian ๐Ÿ–ฅ check it out by running the following:

sudo apt-get update
sudo apt install graphviz 
terraform graph -type=plan | dot -Tpng -o graph.png

Both of these tools ๐Ÿ”ง offer a helpful way to better understand your Terraform infra code particularly if the config is complex, there's little to no documentation on the code logic, or you're newer to Terraform in general. I also like how easy they are to spin up and use plus they're open-source ๐Ÿ˜Ž That said, always be cautious about uploading config files containing private/secure data to a remote website like terraform visual. In those scenarios, it'd be best to run something locally like terraform graph.

Are there other tools you've found useful for visualizing terraform infra?

DevEx

Part 5 of 7

Focuses on hands-on developer experience, CLI utilities and tooling, agentic workflows, and real-world implementation guides. Features standalone administrative helper scripts (Boto3 SDK scripts, AWS search utilities, shell tools), local environment debugging, IaC state visualization tools, and agentic developer workflows (Cursor IDE setups, uv environments, custom MCP integrations).

Up next

Boto3 Script to Reset AWS IAM User Passwords

Here's a simple boto3 script ๐Ÿ“œ to reset AWS IAM user passwords that I wrote. It's integrated with a password generator tool to match the strict AWS password policy enforced in my environment. It also

More from this blog

Jenna's Runbooks

24 posts

Documenting cloud operations, developer tooling, and AI infrastructure. Content is organized into four main sections: Platform & AI Infrastructure (runtimes, K8s, kernel tuning), MLOps & Reliability (Terraform IaC, FinOps, security, automation), Cloud Architectures (multi-cloud blueprints & system design), and DevEx (CLI utilities, agentic workflows).