Changing a backend: -migrate-state, -reconfigure and -force-copy
In one line: -migrate-state copies state to the new backend, -reconfigure starts empty, and -force-copy confirms a migration in non-interactive CI.
You’ve read your 2 free Terraform Pro 002 lessons
Sign up free to read every lesson — your progress is saved.