You modified your Terraform configuration and removed the remote backend from main.tf file. Whan happens with Terraform state?
Experience Level: Junior
Tags: Terraform
Answer
After running terraform init, the remote state will automatically be migrated from the remote backend to the local backend.
Related Terraform job interview questions
What do you need to know about Terraform state in relation to security?
Terraform JuniorWhat is a name of file that Terraform CLI uses for storing local state?
Terraform JuniorYou modified your Terraform configuration and switched from local backend to remote backend by modifying main.tf file. What do you need to migrate the local state to the remote backend?
Terraform JuniorUsing Terraform CLI, how you upgrade all referenced modules and providers to versions allowed within configured constraints?
Terraform JuniorUsing Terraform CLI, how do you download module source codes in order to be able to look at how the module is implemented and copy the examples easily?
Terraform Junior