mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Migrating links to new format
This commit is contained in:
@@ -8,7 +8,7 @@ description: >-
|
||||
# Command: state replace-provider
|
||||
|
||||
The `terraform state replace-provider` command is used to replace the provider
|
||||
for resources in a [Terraform state](/language/state).
|
||||
for resources in a [Terraform state](/terraform/language/state).
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -32,15 +32,15 @@ This command also accepts the following options:
|
||||
|
||||
- `-lock-timeout=0s` - Duration to retry a state lock.
|
||||
|
||||
For configurations using the [Terraform Cloud CLI integration](/cli/cloud) or the [`remote` backend](/language/settings/backends/remote)
|
||||
For configurations using the [Terraform Cloud CLI integration](/terraform/cli/cloud) or the [`remote` backend](/terraform/language/settings/backends/remote)
|
||||
only, `terraform state replace-provider`
|
||||
also accepts the option
|
||||
[`-ignore-remote-version`](/cli/cloud/command-line-arguments#ignore-remote-version).
|
||||
[`-ignore-remote-version`](/terraform/cli/cloud/command-line-arguments#ignore-remote-version).
|
||||
|
||||
For configurations using
|
||||
[the `local` state](/language/settings/backends/local) only,
|
||||
[the `local` state](/terraform/language/settings/backends/local) only,
|
||||
`terraform state replace-provider` also accepts the legacy options
|
||||
[`-state`, `-state-out`, and `-backup`](/language/settings/backends/local#command-line-arguments).
|
||||
[`-state`, `-state-out`, and `-backup`](/terraform/language/settings/backends/local#command-line-arguments).
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user