几个方便的terraform 工具,方便了解terraform
方便的查看资源的信息(支持markdown,json 格式),对于ci/cd 很方便
https://github.com/segmentio/terraform-docs
brew install terraform-docs
terraform-docs md ./ > info.md
https://github.com/coinbase/terraform-landscape
brew install terraform_landscape
同时也可以使用docker 运行
terraform plan | landscape
-/+ random_string.id (new resource required)
id: "none" => "<computed>" (forces new resource)
length: "32" => "40" (forces new resource)
result: "AeFw]#6iln(-Rk8MwwOVtZZuj2u*G#@Z" => "<computed>"
Plan: 1 to add, 0 to change, 1 to destroy.
Terraform 版本管理的
方便检查我们的tf 文件编写是否有问题
https://github.com/wata727/tflint
brew install tflint
tflint
图像可视化交互terraform 定义的资源
https://github.com/28mm/blast-radius
https://github.com/28mm/blast-radius
https://github.com/wata727/tflint
https://github.com/coinbase/terraform-landscape
https://github.com/segmentio/terraform-docs
原文:https://www.cnblogs.com/rongfengliang/p/10558259.html