author avatar

soniya.rayabagi

Thu Feb 08 2024

"terraform init -backend-config=backend.hcl" command initializes your Terraform directory and configures its backend according to the settings specified in the backend.hcl file, for managing infrastructure. then , If you wish to attempt automatic migration of the state, use the command "terraform init -migrate-state"