几个方便的terraform 工具,方便了解terraform

terraform-docs

方便的查看资源的信息(支持markdown,json 格式),对于ci/cd 很方便

  • 项目地址
https://github.com/segmentio/terraform-docs
  • 安装
    for mac
brew install terraform-docs
  • 使用
    markdown 格式
terraform-docs md ./ > info.md
  • 使用效果

terraform-landscape

  • 项目地址
https://github.com/coinbase/terraform-landscape
  • 安装
    for mac
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.

tfenv

Terraform 版本管理的

tflint

方便检查我们的tf 文件编写是否有问题

  • 项目地址
https://github.com/wata727/tflint
  • 安装
    for mac
brew install tflint
  • 使用
tflint

blast-radius

图像可视化交互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

 
 
 
 

terraform 几个方便的工具的更多相关文章

  1. Azure Terraform(一)入门简介

    一,引言 众所周知,当企业将项目整体架构资源迁移到云上,云基础设施架构师就要根据现有项目搭建整体项目的基础设施资源的架构,然后我们的云运维工程师就要根据设计好基础设施的架构图来创建云上资源,但是在构筑 ...

  2. ThoughtWorks 2017技术雷达

    前言: ThoughtWorks人酷爱技术.我们对技术进行构建.研究. 测试.开源.记述,并始终致力于对其进行改进-以求造福 大众.我们的使命是支持卓越软件并掀起IT革命.我们创建 并分享Though ...

  3. devops基本流程

    概要 源代码管理: 工具:Subversion (SVN) Concurrent Version System (CVS) Git SCCS Revision control systems Bitb ...

  4. 云服务器ECS

    云服务器Elastic Compute Service(ECS)是阿里云提供的一种基础云计算服务.使用云服务器ECS就像使用水.电.煤气等资源一样便捷.高效.您无需提前采购硬件设备,而是根据业务需要, ...

  5. [译]Kubernetes 分布式应用部署和人脸识别 app 实例

    原文地址:KUBERNETES DISTRIBUTED APPLICATION DEPLOYMENT WITH SAMPLE FACE RECOGNITION APP 原文作者:skarlso 译文出 ...

  6. DevOps 工程师成长日记系列二:配置

    原文地址:https://medium.com/@devfire/how-to-become-a-devops-engineer-in-six-months-or-less-part-2-config ...

  7. Kapitan 通用terraform&& kubernetes 配置管理工具

    Kapitan 是一个通用的配置管理工具,可以帮助我们管理terraform .kubernetes 以及其他的配置. Kapitan 自生基于jsonnet 开发,对于我们日常进行软件的部署(tf以 ...

  8. Terraform 多云管理工具

    1. 介绍   Terraform is a tool for building, changing, and versioning infrastructure safely and efficie ...

  9. 如何使用 Docker、ECS、Terraform 重建基础架构?

    早期 Segment 基础架构普遍组合在一起.我们通过 AWS 界面设定实例,使用许多闲散的 AMI,并且采用三种不同的部署方式. 然而随着商业的飞速发展,工程师团队的规模不断扩大,基础架构的复杂度也 ...

随机推荐

  1. Mvc Api 自定义路由

    // [RoutePrefix("api/ssm")]// public class ValuesController : ApiController// {// ///<s ...

  2. <Java><!!!><面试题>

    装箱 & 拆箱 public class Test03 { public static void main(String[] args) { Integer f1 = 100, f2 = 10 ...

  3. L253 Valentine's Day

    Are you ready for Valentine's Day, my fellow stargazers? Not sure if you know this, but the astrolog ...

  4. python 正则进阶

    1.group 除了简单地判断是否匹配之外,正则表达式还有提取子串的强大功能.用()表示的就是要提取的分组(Group).比如:^(\d{3})-(\d{3,8})$分别定义了两个组,可以直接从匹配的 ...

  5. MAVEN 阿里云中央仓库

    <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexu ...

  6. laravel 添加验证码

    1.  安装依赖  composer require gregwar/captcha 2.使用 use Gregwar\Captcha\CaptchaBuilder; use DB; use Requ ...

  7. 解析XML技术

    转载:http://developer.51cto.com/art/200903/117512.htm XML现在已经成为一种通用的数据交换格式,它的平台无关性,语言无关性,系统无关性,给数据集成与交 ...

  8. 如何通过创建切片器窗格节省PowerBI报告空间

    许多用户在使用Power BI的过程中,都会有这么一个困扰:在Power BI 开发中,切片器一旦过多就会占用非常多的空间.发生这种情况时,您显示数据的页面也会更加小.但另一方面,如果您没有切片器,报 ...

  9. Swig--模板引擎

    {% filter uppercase %} oh hi, {{ name }} {% endfilter %} {% filter replace "." "!&quo ...

  10. JAVA基础部分复习(二、集合类型)

    对于这些常用的集合,建议还是需要先了解一下底层实现原理,这样在不同的使用场景下才能选择更好的方案. Set介绍以及对比,常用方法: package cn.review.day02; import ja ...