Fix renaming mistakes in docs (#1012)

Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
This commit is contained in:
Ronny Orot 2023-12-14 13:16:21 +02:00 committed by GitHub
parent 2d55e6fcde
commit 99e51a166d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@ The command-line flags are all optional. The following flags are available:
it only supports string, number, and boolean values. Use `-json` instead
for processing complex data types.
* `-no-color` - If specified, output won't contain any color.
* `-state=path` - Path to the state file. Defaults to "tofu.tfstate".
* `-state=path` - Path to the state file. Defaults to "terraform.tfstate".
Ignored when [remote state](/docs/language/state/remote) is used.
:::note

View File

@ -27,7 +27,7 @@ in [resource addressing format](/docs/cli/state/resource-addressing).
The command-line flags are all optional. The following flags are available:
* `-state=path` - Path to the state file. Defaults to "tofu.tfstate".
* `-state=path` - Path to the state file. Defaults to "terraform.tfstate".
Ignored when [remote state](/docs/language/state/remote) is used.
* `-id=id` - ID of resources to show. Ignored when unset.

View File

@ -27,5 +27,5 @@ the remote state, as it will always be converted to the current OpenTofu
version before output.
:::note
OpenTofu state files must be in UTF-8 format without a byte order mark (BOM). For PowerShell on Windows, use `Set-Content` to automatically encode files in UTF-8 format. For example, run `tofu state pull | sc tofu.tfstate`.
OpenTofu state files must be in UTF-8 format without a byte order mark (BOM). For PowerShell on Windows, use `Set-Content` to automatically encode files in UTF-8 format. For example, run `tofu state pull | sc terraform.tfstate`.
:::

View File

@ -23,7 +23,7 @@ is loaded completely into memory and verified prior to being written to
the destination state.
:::note
OpenTofu state files must be in UTF-8 format without a byte order mark (BOM). For PowerShell on Windows, use `Set-Content` to automatically encode files in UTF-8 format. For example, run `tofu state push | sc tofu.tfstate`.
OpenTofu state files must be in UTF-8 format without a byte order mark (BOM). For PowerShell on Windows, use `Set-Content` to automatically encode files in UTF-8 format. For example, run `tofu state push | sc terraform.tfstate`.
:::
OpenTofu will perform a number of safety checks to prevent you from

View File

@ -23,7 +23,7 @@ in [resource addressing format](/docs/cli/state/resource-addressing).
The command-line flags are all optional. The following flags are available:
* `-state=path` - Path to the state file. Defaults to "tofu.tfstate".
* `-state=path` - Path to the state file. Defaults to "terraform.tfstate".
Ignored when [remote state](/docs/language/state/remote) is used.
The output of `tofu state show` is intended for human consumption, not

View File

@ -40,7 +40,7 @@ for this configuration.
To create a new workspace from a pre-existing local state file:
```
$ tofu workspace new -state=old.tofu.tfstate example
$ tofu workspace new -state=old.terraform.tfstate example
Created and switched to workspace "example".
You're now on a new, empty workspace. Workspaces isolate their state,

View File

@ -327,7 +327,7 @@ optionally return a different result when OpenTofu is requesting it.
If the response is successful (`200`-range status code), OpenTofu looks in
the following locations in order for the next address to access:
- The value of a response header field named `X-OpenTofu-Get`.
- The value of a response header field named `X-Terraform-Get`.
- If the response is an HTML page, a `meta` element with the name `tofu-get`: