Difference between revisions of "Terraform state --help"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
 +
<code>[[terraform state]] --help</code>
 +
 
<pre>
 
<pre>
terraform state --help
 
 
Usage: terraform [global options] state <subcommand> [options] [args]
 
Usage: terraform [global options] state <subcommand> [options] [args]
  
Line 26: Line 28:
  
 
== See also ==
 
== See also ==
 +
* {{terraform state}}
 
* {{terraform cmd}}
 
* {{terraform cmd}}
 
* {{Terraform}}
 
* {{Terraform}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 08:57, 8 February 2022

terraform state --help

Usage: terraform [global options] state <subcommand> [options] [args]

  This command has subcommands for advanced state management.

  These subcommands can be used to slice and dice the Terraform state.
  This is sometimes necessary in advanced cases. For your safety, all
  state management commands that modify the state create a timestamped
  backup of the state prior to making modifications.

  The structure and output of the commands is specifically tailored to work
  well with the common Unix utilities such as grep, awk, etc. We recommend
  using those tools to perform more advanced state tasks.

Subcommands:
    list                List resources in the state
    mv                  Move an item in the state
    pull                Pull current state and output to stdout
    push                Update remote state from a local state file
    replace-provider    Replace provider in the state
    rm                  Remove instances from the state
    show                Show a resource in the state

See also[edit]

Advertising: