All technological notes.
terraform init
| Command | Description |
|---|---|
terraform init |
initializes a working directory. |
terraform init -migrate-state |
copy existing state to the new backend with interactive prompts |
terraform init -force-copy |
force to copy existing state to the new backend without prompt |
terraform init -reconfigure |
re-initializes disregarding any existing configuration |
terraform init -upgrade |
updating all modules to the latest available source code |