From 44d7d2d5b8da5d79a6e367339e23305ed9aa7482 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 1 Mar 2017 21:54:47 -0800 Subject: [PATCH] website: update backends changing state env behavior --- website/source/docs/backends/config.html.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/source/docs/backends/config.html.md b/website/source/docs/backends/config.html.md index 94334d3f7..9673f4516 100644 --- a/website/source/docs/backends/config.html.md +++ b/website/source/docs/backends/config.html.md @@ -82,6 +82,10 @@ the reinitialization process, Terraform will ask if you'd like to migrate your existing state to the new configuration. This allows you to easily switch from one backend to another. +If you're using [state environments](/docs/state/environments.html), +Terraform is able to copy all environments to the destination. If Terraform +detects you have multiple states, it will ask if this is what you want to do. + If you're just reconfiguring the same backend, Terraform will still ask if you want to migrate your state. You can respond "no" in this scenario.