mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
* Initial renaming, rewriting and cleaning up wave for the CLI docs. Signed-off-by: Jakub Martin <kubam@spacelift.io> * More renaming. Signed-off-by: Jakub Martin <kubam@spacelift.io> * More renaming. Signed-off-by: Jakub Martin <kubam@spacelift.io> * More renaming. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Remove tutorial references. Signed-off-by: Jakub Martin <kubam@spacelift.io> * Post-review fixes. Signed-off-by: Jakub Martin <kubam@spacelift.io> --------- Signed-off-by: Jakub Martin <kubam@spacelift.io>
21 lines
1.3 KiB
Plaintext
21 lines
1.3 KiB
Plaintext
---
|
|
page_title: Using the Cloud Backend - OpenTF CLI
|
|
description: >-
|
|
Learn how to use a cloud backend on the command line with the OpenTF CLI.
|
|
---
|
|
|
|
# Using the Cloud Backend with OpenTF CLI
|
|
|
|
The OpenTF CLI lets you use cloud backends on the command line.
|
|
|
|
When you use the cloud backend CLI workflow, operations like `opentf plan` or `opentf apply` are remotely executed in the cloud backend's run environment by default, with log output streaming to the local terminal. This lets you use cloud backend's features within the familiar OpenTF CLI workflow. Cloud backend services may choose to implement only a subset of the available features.
|
|
|
|
Workspaces can also be configured for local execution, in which case the cloud backend only stores state. In this mode, the cloud backend behaves just like a standard state backend.
|
|
|
|
## Documentation Summary
|
|
|
|
- [Cloud Backend Settings](/opentf/cli/cloud/settings) documents the `cloud` block that you must add to your configuration to enable cloud backend support.
|
|
- [Initializing and Migrating](/opentf/cli/cloud/migrating) describes
|
|
how to start using the cloud backend with a working directory that already has state data.
|
|
- [Command Line Arguments](/opentf/cli/cloud/command-line-arguments) lists the OpenTF command flags that are specific to using OpenTF with the cloud backend.
|