mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Update links to point to CLI docs; make Language page clearer
This commit is contained in:
@@ -7,7 +7,7 @@ description: >-
|
||||
|
||||
# remote
|
||||
|
||||
-> **Note:** The remote backend was introduced in Terraform v0.11.13 and Terraform Enterprise v201809-1. As of Terraform v1.1.0 and Terraform Enterprise v202201-1, **we recommend using the Terraform Cloud's built-in [`cloud` integration](/language/settings/terraform-cloud)** instead of this backend. The `cloud` option includes an improved user experience and more features.
|
||||
-> **Note:** The remote backend was introduced in Terraform v0.11.13 and Terraform Enterprise v201809-1. As of Terraform v1.1.0 and Terraform Enterprise v202201-1, **we recommend using the Terraform Cloud's built-in [`cloud` integration](/cli/cloud/settings)** instead of this backend. The `cloud` option includes an improved user experience and more features.
|
||||
|
||||
The remote backend is unique among all other Terraform backends because it can both store state snapshots and execute operations for Terraform Cloud's [CLI-driven run workflow](/cloud-docs/run/cli). It used to be called an "enhanced" backend.
|
||||
|
||||
|
||||
@@ -7,12 +7,15 @@ description: >-
|
||||
|
||||
# Terraform Cloud Configuration
|
||||
|
||||
The main module of a Terraform configuration can integrate with Terraform Cloud to enable its
|
||||
[CLI-driven run workflow](/cloud-docs/run/cli). 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
|
||||
The main module of a Terraform configuration can integrate with Terraform Cloud to enable its [CLI-driven run workflow](/cloud-docs/run/cli). 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](https://learn.hashicorp.com/tutorials/terraform/cloud-migrate) tutorial on HashiCorp Learn.
|
||||
|
||||
This page contains a brief `cloud` block example. Refer to Refer to [Using Terraform Cloud](/cli/cloud) in the Terraform CLI docs for full configuration details, migration instructions, and command line arguments.
|
||||
|
||||
## Usage Example
|
||||
|
||||
You can configure the Terraform Cloud CLI integration by adding a nested `cloud` block within the top-level
|
||||
`terraform` block:
|
||||
|
||||
@@ -29,8 +32,8 @@ terraform {
|
||||
}
|
||||
```
|
||||
|
||||
If you do not specify the `hostname`, it defaults to `app.terraform.io` for Terraform Cloud. For Terraform Enterprise installations, include the [hostname](/cli/cloud/settings#hostname) configuration argument.
|
||||
If you do not specify the `hostname`, it defaults to `app.terraform.io` for Terraform Cloud. For Terraform Enterprise installations, include the [hostname](/cli/cloud/settings#hostname) configuration argument.
|
||||
|
||||
You cannot use the CLI integration and a [state backend](/language/settings/backends) in the same configuration; they are mutually exclusive. A configuration can only provide one `cloud` block and the `cloud` block cannot refer to named values like input variables, locals, or data source attributes.
|
||||
|
||||
Refer to [Using Terraform Cloud](/cli/cloud) in the Terraform CLI docs for more information.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user