terraform init
Prepare your working directory for other commands
Options
Name | Description |
---|---|
-upgrade | Opt to upgrade modules and plugins as part of their respective installation steps |
-lock <true or false> | Lock the state file when locking is supported. Defaults to true |
-force <true or false> | Delete the workspace even if its state is not empty. Defaults to false |
-lock-timeout <seconds> | Duration to retry a state lock. Default 0s |
-input <true or false> | Ask for input for variables if not directly set |
-no-color | Disables output with coloring |
-help | Show this help output, or the help for a specified subcommand |
-chdir <arg> | Switch to a different working directory before executing the given subcommand |
-version | Show the current Terraform version |