Skip to content

Commit 1e4df3e

Browse files
authored
Merge pull request #36869 from varnav/sc-command-fix
Replace sc with Set-Content
2 parents bc87cdf + a5b2d2e commit 1e4df3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/cli/commands/state/pull.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ You cannot use this command to inspect the Terraform version of
2424
the remote state, as it will always be converted to the current Terraform
2525
version before output.
2626

27-
-> **Note:** Terraform 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 `terraform state pull | sc terraform.tfstate`.
27+
-> **Note:** Terraform 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 `terraform state pull | Set-Content terraform.tfstate`.

website/docs/cli/commands/state/push.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If PATH is "-" then the state data to push is read from stdin. This data
1818
is loaded completely into memory and verified prior to being written to
1919
the destination state.
2020

21-
-> **Note:** Terraform 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 `terraform state push | sc terraform.tfstate`.
21+
-> **Note:** Terraform 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 `terraform state push | Set-Content terraform.tfstate`.
2222

2323
Terraform will perform a number of safety checks to prevent you from
2424
making changes that appear to be unsafe:

0 commit comments

Comments
 (0)