Files
opentf/website/docs/cli/cloud/command-line-arguments.mdx
Kuba Martin 4d665a0091 Update website/docs/cli. (#171)
* 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>
2023-08-25 11:09:18 +02:00

25 lines
1.0 KiB
Plaintext

---
page_title: Command Line Arguments
description: Command Line Arguments
---
# Command Line Arguments
When your configuration includes a `cloud` block, commands that
make local modifications to OpenTF state and then push them back up to the remote workspace
accept the following option to modify that behavior:
- `-ignore-remote-version` - Override checking that the local and remote
OpenTF versions agree, making an operation proceed even when there is
a mismatch.
State-modification operations usually require using a local version of the
OpenTF CLI that is compatible with the OpenTF version selected
in the remote workspace settings. This prevents the
local operation from creating a new state snapshot that the workspace's
remote execution environment cannot decode.
We recommend against using this option unless absolutely necessary. Overriding this check can result
in a cloud backend workspace that is no longer able to complete remote operations with the currently
selected version of OpenTF.