Terraform Cloud Cheat Sheet

Last Updated: November 21, 2025

Workspace Workflow

Feature Terraform Cloud behavior
Smart remote runs Plan/apply execute in the cloud
State versioning Automatic history + drift detection
Variable sets Share secrets or env vars across workspaces

CLI Commands

terraform login
Store API token locally
terraform init -backend-config
Point to workspace backend
terraform plan -out=plan.tfplan
Upload plan for manual apply

Collaboration Tips

Pin policy sets, review run triggers, and keep state-enabled modules in VCS to share context.

💡 Pro Tip: Use the run task API to insert checks before `terraform apply` finishes.
← Back to DevOps & Cloud | Browse all categories | View all cheat sheets