Kubemap is a tfstate parser and visualizer Golang tool. It helps if you want to analyse your Terraform tfstate file.
How to parse and visualise Terraform tfsate file? Read this documentation for how to use Kubemap.
From releases This installs a binary.
- Linux
curl -LO "https://github.com/dhyanio/kubemap/releases/download/$(curl -s https://api.github.com/repos/dhyanio/kubemap/releases/latest | grep tag_name | cut -d '"' -f 4)/kubemap-linux-amd64"
chmod +x kubemap-linux-amd64
sudo mv kubemap-linux-amd64 /usr/local/bin/kubemap
- MacOS
curl -LO "https://github.com/dhyanio/kubemap/releases/download/$(curl -s https://api.github.com/repos/dhyanio/kubemap/releases/latest | grep tag_name | cut -d '"' -f 4)/kubemap-darwin-amd64"
chmod +x kubemap-darwin-amd64
sudo mv kubemap-darwin-amd64 /usr/local/bin/kubemap
From source
- Run
git clone <kubemap repo> && cd kubemap/ - Run
make build
KubeMap runs at 8080
http://localhost:8080/