Editing Terraform init --help

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
+
<pre>
 +
terraform init --help
 +
Usage: terraform [global options] init [options]
 +
 
 +
  Initialize a new or existing Terraform working directory by creating
 +
  initial files, loading any remote state, downloading modules, etc.
 +
 
 +
  This is the first command that should be run for any new or existing
 +
  Terraform configuration per machine. This sets up all the local data
 +
  necessary to run Terraform that is typically not committed to version
 +
  control.
 +
 
 +
  This command is always safe to run multiple times. Though subsequent runs
 +
  may give errors, this command will never delete your configuration or
 +
  state. Even so, if you have important information, please back it up prior
 +
  to running this command, just in case.
 +
 
 +
Options:
 +
 
 +
  -backend=false          Disable backend or Terraform Cloud initialization for
 +
                          this configuration and use what what was previously
 +
                          initialized instead.
 +
 
 +
                          aliases: -cloud=false
 +
 
 +
  -backend-config=path    Configuration to be merged with what is in the
 +
                          configuration file's 'backend' block. This can be
 +
                          either a path to an HCL file with key/value
 +
                          assignments (same format as terraform.tfvars) or a
 +
                          'key=value' format, and can be specified multiple
 +
                          times. The backend type must be in the configuration
 +
                          itself.
  
[[terraform init]] --help
 
 
Usage: terraform [global options] init [options]
 
 
  Initialize a new or existing Terraform working directory by creating
 
  initial files, loading any remote state, downloading modules, etc.
 
 
  This is the first command that should be run for any new or existing
 
  Terraform configuration per machine. This sets up all the local data
 
  necessary to run Terraform that is typically not committed to version
 
  control.
 
 
  This command is always safe to run multiple times. Though subsequent runs
 
  may give errors, this command will never delete your configuration or
 
  state. Even so, if you have important information, please back it up prior
 
  to running this command, just in case.
 
 
Options:
 
 
  [[-backend=false]]          Disable backend or Terraform Cloud initialization for
 
                          this configuration and use what what was previously
 
                            initialized instead.
 
 
                          aliases: -cloud=false
 
 
  [[-backend-config]]=path    Configuration to be merged with what is in the
 
                          configuration file's 'backend' block. This can be
 
                          either a path to an HCL file with key/value
 
                          assignments (same format as terraform.tfvars) or a
 
                          'key=value' format, and can be specified multiple
 
                          times. The backend type must be in the configuration
 
                          itself.
 
<pre>
 
 
   -force-copy            Suppress prompts about copying state data when
 
   -force-copy            Suppress prompts about copying state data when
 
                           initializating a new state backend. This is
 
                           initializating a new state backend. This is
Line 82: Line 80:
 
                           Terraform Cloud for more information.
 
                           Terraform Cloud for more information.
 
</pre>
 
</pre>
 
== Related ==
 
[[.terraform]]
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: