Terraform CLI Cheat Sheet

Initialize / plan / apply your IaC, manage modules, state, and more

In this valuable cheat sheet you'll be able to find commands that will help you with your Terraform work. You'll know how to:

- Initialize your directory

- Download and install providers and modules

- Validate your Terraform code

- Format your Terraform code

- Plan your infrastructure

- Deploy your infrastructure

- View your State File

- Manipulate your State File

- Destroy your infrastructure

- And much more.

Achieve a Secure end-to-end GitOps Workflow

Achieving true GitOps, detecting and solving drifts, managing Terraform at Scale in a secure manner, are just a few things that Spacelift can do for you. Get started now or book a demo with one of our engineers to learn more.

"Spacelift has enabled Checkout to scale from a handful of deployments per day to averaging over 500 per day"

“With Spacelift, we can have an overarching collection of policies that govern when and how everything runs. This stuff is radically further ahead than the way 99% of companies use Terraform.”

“Spacelift has helped us set up a flexible and productive Infrastructure as Code environment. It makes the basics like setting up and interesting on plans simpler and quicker, which has allowed us to focus on larger engineering concerns.”