9

Developing Terraform Code Efficiently

Terraform’s popularity and open source licensing model have spawned a very active ecosystem. Many open source and commercial tools and resources are available that extend its functionality and capabilities. An excellent resource is the curated list of Terraform resources at https://github.com/shuaibiyy/awesome-terraform. This chapter highlights four of the most common and practical tools to help you write and develop Terraform code more efficiently.

In this chapter, we cover the following topics:

  • Visual Studio Code (VS Code) Terraform Extension
  • tflint
  • Checkov
  • Terragrunt

Technical requirements

In this chapter, you need to install each of the tools discussed. We provide references on how to do so. The ...

Get Terraform for Google Cloud Essential Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.