Terraform
Learn Terraform recommended practices
This guide is meant for enterprise users looking to advance their Terraform usage from a few individuals to a full organization. For Terraform code style recommended practices, refer to the Terraform style guide.
Introduction
HashiCorp specializes in helping IT organizations adopt cloud technologies. Based on what we've seen work well, we believe the best approach to provisioning is collaborative infrastructure as code, using Terraform as the core workflow and HCP Terraform to manage the boundaries between your organization's different teams, roles, applications, and deployment tiers.
The collaborative infrastructure as code workflow is built on many other IT best practices (like using version control and preventing manual changes), and you must adopt these foundations before you can fully adopt our recommended workflow. Achieving state-of-the-art provisioning practices is a journey, with several distinct stops along the way.
This guide describes our recommended Terraform practices and how to adopt them. It covers the steps to start using our tools, with special attention to the foundational practices they rely on.
Part 1: An Overview of Our Recommended Workflow is a holistic overview of HCP Terraform's collaborative infrastructure as code workflow. It describes how infrastructure is organized and governed, and how people interact with it.
Part 2: Evaluating Your Current Provisioning Practices is a series of questions to help you evaluate the state of your own infrastructure provisioning practices. We define four stages of operational maturity around provisioning to help you orient yourself and understand which foundational practices you still need to adopt.
Part 3: How to Evolve Your Provisioning Practices is a guide for how to advance your provisioning practices through the four stages of operational maturity. Many organizations are already partway through this process, so use what you learned in part 2 to determine where you are in this journey.
This part is split into four pages:
Next
Begin reading with Part 1: An Overview of Our Recommended Workflow.