Skip to content

Commit 287cfd1

Browse files
authored
Fix punctuation and spelling errors in Basic CLI Features and Command: plan documentation (hashicorp#32791)
* Update index.mdx * Update index.mdx * Update plan.mdx
1 parent a56264b commit 287cfd1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

website/docs/cli/commands/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ All other commands:
6363
Global options (use these before the subcommand, if any):
6464
-chdir=DIR Switch to a different working directory before executing the
6565
given subcommand.
66-
-help Show this help output, or the help for a specified subcommand.
66+
-help Show this help output or the help for a specified subcommand.
6767
-version An alias for the "version" subcommand.
6868
```
6969

@@ -74,7 +74,7 @@ To get specific help for any specific command, use the `-help` option with the
7474
relevant subcommand. For example, to see help about the "validate" subcommand
7575
you can run `terraform validate -help`.
7676

77-
The inline help built in to Terraform CLI describes the most important
77+
The inline help built into Terraform CLI describes the most important
7878
characteristics of each command. For more detailed information, refer to each
7979
command's page for details.
8080

@@ -136,7 +136,7 @@ terraform -uninstall-autocomplete
136136

137137
The Terraform CLI commands interact with the HashiCorp service
138138
[Checkpoint](https://checkpoint.hashicorp.com/) to check for the availability
139-
of new versions and for critical security bulletins about the current version.
139+
of new versions and critical security bulletins about the current version.
140140

141141
One place where the effect of this can be seen is in `terraform version`, where
142142
it is used by default to indicate in the output when a newer version is

website/docs/cli/commands/plan.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ to be taken.
3333
If you are using Terraform directly in an interactive terminal and you expect
3434
to apply the changes Terraform proposes, you can alternatively run
3535
[`terraform apply`](/terraform/cli/commands/apply) directly. By default, the "apply" command
36-
automatically generates a new plan and prompts for you to approve it.
36+
automatically generates a new plan and prompts you to approve it.
3737

3838
You can use the optional `-out=FILE` option to save the generated plan to a
3939
file on disk, which you can later execute by passing the file to
@@ -132,7 +132,7 @@ In addition to alternate [planning modes](#planning-modes), there are several op
132132
resource instance with the given address. This is helpful when one or more remote objects have become degraded, and you can use replacement objects with the same configuration to align with immutable infrastructure patterns. Terraform will use a "replace" action if the specified resource would normally cause an "update" action or no action at all. Include this option multiple times to replace several objects at once. You cannot use `-replace` with the `-destroy` option, and it is only available from Terraform v0.15.2 onwards. For earlier versions, use [`terraform taint`](/terraform/cli/commands/taint) to achieve a similar result.
133133

134134
- `-target=ADDRESS` - Instructs Terraform to focus its planning efforts only
135-
on resource instances which match the given address and on any objects that
135+
on resource instances that match the given address and on any objects that
136136
those instances depend on.
137137

138138
-> **Note:** Use `-target=ADDRESS` in exceptional circumstances only, such as recovering from mistakes or working around Terraform limitations. Refer to [Resource Targeting](#resource-targeting) for more details.
@@ -161,8 +161,8 @@ root module.
161161

162162
However, to do so will require writing a command line that is parsable both
163163
by your chosen command line shell _and_ Terraform, which can be complicated
164-
for expressions involving lots of quotes and escape sequences. In most cases
165-
we recommend using the `-var-file` option instead, and write your actual values
164+
for expressions involving lots of quotes and escape sequences. In most cases,
165+
we recommend using the `-var-file` option instead, and writing your actual values
166166
in a separate file so that Terraform can parse them directly, rather than
167167
interpreting the result of your shell's parsing.
168168

0 commit comments

Comments
 (0)