Terraform Cloud

Terraform Cloud is a SaaS platform that provides collaboration, governance, and automation features for managing infrastructure as code with Terraform.

Basics

Terraform Cloud runs Terraform operations and stores state remotely, so you can use Terraform without worrying about the stability of your local machine, or the security of your state file.

Authentication in Terraform Cloud

To authenticate Terraform Cloud with Azure or AWS you can create an Azure SPN or AWS IAM user with the relevant permissions and then define the credentials as variables in the Terraform Cloud environment.

Terraform Cloud Authentication

To authenticate Terraform Cloud with Azure or AWS you can create an SPM or IAM user in the cloud with the relevant permissions and then define the credentials as variables in the Terraform Cloud environment.

Outputs

When you use Terraform Cloud with module and configuration files, the outputs from the module are captured and made available as output variables in the Terraform Cloud workspace. These output variables can then be used in other Terraform configurations or modules.

Projects & Workspace

Projects are collections of related workspaces and, workspaces are logical environments that allow you to organize and manage your infrastructure code

Variables Sets

Variable sets allow Terraform Cloud users to reuse both Terraform-defined and environment variables not just from root to child modules, but across certain workspaces or an entire organization.

VCS structure & workspaces

Variable sets allow Terraform Cloud users to reuse both Terraform-defined and environment variables not just from root to child modules, but across certain workspaces or an entire organization.

Version control system

Last modified July 21, 2024: update (e2ae86c)