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:
parent
e3748901b4
commit
4034f988df
|
@ -235,11 +235,12 @@ Options:
|
||||||
specifying aliases, such as "aws.eu". Defaults to the
|
specifying aliases, such as "aws.eu". Defaults to the
|
||||||
normal provider prefix of the resource being imported.
|
normal provider prefix of the resource being imported.
|
||||||
|
|
||||||
-state=path Path to read and save state (unless state-out
|
-state=PATH Path to the source state file. Defaults to the configured
|
||||||
is specified). Defaults to "terraform.tfstate".
|
backend, or "terraform.tfstate"
|
||||||
|
|
||||||
-state-out=path Path to write updated state file. By default, the
|
-state-out=PATH Path to the destination state file to write to. If this
|
||||||
"-state" path will be used.
|
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
|
-var 'foo=bar' Set a variable in the Terraform configuration. This
|
||||||
flag can be set multiple times. This is only useful
|
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
|
provider based on the prefix of the resource being imported. You usually
|
||||||
don't need to specify this.
|
don't need to specify this.
|
||||||
|
|
||||||
* `-state=path` - The path to read and save state files (unless state-out is
|
* `-state=path` - Path to the source state file to read from. Defaults to the
|
||||||
specified). Ignored when [remote state](/docs/state/remote.html) is used.
|
configured backend, or "terraform.tfstate".
|
||||||
|
|
||||||
* `-state-out=path` - Path to write the final state file. By default, this is
|
* `-state-out=path` - Path to the destination state file to write to. If this
|
||||||
the state path. Ignored when [remote state](/docs/state/remote.html) is
|
isn't specified the source state file will be used. This can be a new or
|
||||||
used.
|
existing path.
|
||||||
|
|
||||||
* `-var 'foo=bar'` - Set a variable in the Terraform configuration. This flag
|
* `-var 'foo=bar'` - Set a variable in the Terraform configuration. This flag
|
||||||
can be set multiple times. Variable values are interpreted as
|
can be set multiple times. Variable values are interpreted as
|
||||||
|
|
Loading…
Reference in New Issue