This guide walks through Terraform Cloud’s features, including organization setup, workspace management, VCS integration, and using the Private Module Registry.
This guide provides a quick walkthrough of Terraform Cloud’s core features, including organization setup, workspace management, VCS integration, and the Private Module Registry. By the end, you’ll understand how to log in, configure settings, and use Terraform Cloud for collaboration and automation.
At the workspace level, define Terraform variables and reference organization-level variable sets for sensitive data (e.g., AWS credentials). This ensures secrets never appear in your configuration files.
Use organization-level variable sets to centralize credential management and avoid committing secrets to VCS.
Under General Settings, adjust the workspace ID, name, description, execution mode (remote or local), apply method (auto or manual), and Terraform version.
Connect workspaces to GitHub, GitLab, Bitbucket, or Azure DevOps. Commits, pull requests, and merges can automatically trigger plans (and applies, if enabled).
Click on a Git commit in Terraform Cloud to see what changed. For example, an HCL module definition might look like this:
Copy
Ask AI
module "security-group-http" { source = "app.terraform.io/Enterprise-Cloud/security-group/aws//modules/http-80" version = "4.8.0" name = "http-traffic-${var.environment}" description = "Security group for ${var.environment} with HTTP ports open within VPC"}
Back in the workspace, you’ll find run metrics, tags, and access controls for contributors.
Keep track of workspaces that need attention, currently running environments, or those with failed runs. Use filters to quickly locate specific environments like “dev.”