mirror of
https://github.com/bluxmit/alnoda-workspaces.git
synced 2024-07-03 05:30:38 +12:00
1.2 KiB
1.2 KiB
Ansible tools
Terraform tools
Pre-commit hook
Blast-Radius
Serves folder /home/terraform
In order to serve another terraform folder, for example /home/project/my-terraform
blast-radius --serve --port 8033 /home/project/my-terraform
Terraform Visual
- Generate Terraform plan in json
terraform plan -out=plan.out # Run plan and output as a file
terraform show -json plan.out > plan.json # Read plan file and output it in JSON format
- Generate Terraform-visual report
terraform-visual --plan plan.json
Terraform Graph
- Create report
terraform graph | dot -Tsvg > graph.svg
Inframap
- Visualize terraform state
inframap generate terraform.tfstate | dot -Tpng > graph.png
Rover
- serve terraform visualisation
rover --workingDir /home/terraform
NOTE: Rover serves only on port 9000