mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
update import command docs
Fix the -state and -state-out wording to be consistent with other commands. Remove the erroneous reference to remote state in the website version of the flag description.
This commit is contained in:
@@ -235,11 +235,12 @@ Options:
|
||||
specifying aliases, such as "aws.eu". Defaults to the
|
||||
normal provider prefix of the resource being imported.
|
||||
|
||||
-state=path Path to read and save state (unless state-out
|
||||
is specified). Defaults to "terraform.tfstate".
|
||||
-state=PATH Path to the source state file. Defaults to the configured
|
||||
backend, or "terraform.tfstate"
|
||||
|
||||
-state-out=path Path to write updated state file. By default, the
|
||||
"-state" path will be used.
|
||||
-state-out=PATH Path to the destination state file to write to. If this
|
||||
isn't specified, the source state file will be used. This
|
||||
can be a new or existing path.
|
||||
|
||||
-var 'foo=bar' Set a variable in the Terraform configuration. This
|
||||
flag can be set multiple times. This is only useful
|
||||
|
@@ -53,12 +53,12 @@ The command-line flags are all optional. The list of available flags are:
|
||||
provider based on the prefix of the resource being imported. You usually
|
||||
don't need to specify this.
|
||||
|
||||
* `-state=path` - The path to read and save state files (unless state-out is
|
||||
specified). Ignored when [remote state](/docs/state/remote.html) is used.
|
||||
* `-state=path` - Path to the source state file to read from. Defaults to the
|
||||
configured backend, or "terraform.tfstate".
|
||||
|
||||
* `-state-out=path` - Path to write the final state file. By default, this is
|
||||
the state path. Ignored when [remote state](/docs/state/remote.html) is
|
||||
used.
|
||||
* `-state-out=path` - Path to the destination state file to write to. If this
|
||||
isn't specified the source state file will be used. This can be a new or
|
||||
existing path.
|
||||
|
||||
* `-var 'foo=bar'` - Set a variable in the Terraform configuration. This flag
|
||||
can be set multiple times. Variable values are interpreted as
|
||||
|
Reference in New Issue
Block a user