The main module of a Terraform configuration can integrate with Terraform Cloud to enable its CLI-driven run workflow. You only need to configure these settings when you want to use Terraform CLI to interact with Terraform Cloud. Terraform Cloud ignores them when interacting with Terraform through version control or the API.
Hands On: Try the Migrate State to Terraform Cloud tutorial.
To configure the Terraform Cloud CLI integration, add a nested cloud
block within the terraform
block. You cannot use the CLI integration and a state backend in the same configuration.
Refer to Using Terraform Cloud in the Terraform CLI documentation for full configuration details, migration instructions, and command line arguments.
terraform {
cloud {
organization = "example_corp"
## Required for Terraform Enterprise; Defaults to app.terraform.io for Terraform Cloud
hostname = "app.terraform.io"
workspaces {
tags = ["app"]
}
}
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4