{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/13904","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/13904/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/13904/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/13904/events","html_url":"https://github.com/hashicorp/terraform/issues/13904","id":223857415,"number":13904,"title":"Migrating the states from 0.7.13 to 0.9.3 and using env","user":{"login":"Puneeth-n","id":5619473,"avatar_url":"https://avatars2.githubusercontent.com/u/5619473?v=3","gravatar_id":"","url":"https://api.github.com/users/Puneeth-n","html_url":"https://github.com/Puneeth-n","followers_url":"https://api.github.com/users/Puneeth-n/followers","following_url":"https://api.github.com/users/Puneeth-n/following{/other_user}","gists_url":"https://api.github.com/users/Puneeth-n/gists{/gist_id}","starred_url":"https://api.github.com/users/Puneeth-n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Puneeth-n/subscriptions","organizations_url":"https://api.github.com/users/Puneeth-n/orgs","repos_url":"https://api.github.com/users/Puneeth-n/repos","events_url":"https://api.github.com/users/Puneeth-n/events{/privacy}","received_events_url":"https://api.github.com/users/Puneeth-n/received_events","type":"User","site_admin":false},"labels":[{"id":387496091,"url":"https://api.github.com/repos/hashicorp/terraform/labels/state/remote/s3","name":"state/remote/s3","color":"c5def5","default":false},{"id":120957393,"url":"https://api.github.com/repos/hashicorp/terraform/labels/waiting-response","name":"waiting-response","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-24T15:23:57Z","updated_at":"2017-04-25T14:20:13Z","closed_at":"2017-04-25T14:20:12Z","body":"Hi,\r\n\r\nI am upgrading from `0.7.13` to `0.9.3` for 10 environments. Lets say the environments are named `one` `two` `three` .. `ten`. The backend used is `s3`. Earlier, for each environment, backend statefile was set as `one.tfstate` `two.tfstate` and so on.. . in the `s3` bucket `tf-state` I see that `terraform env new one` for example will create a new `one` environment key under `env:` in s3 and store the states under `one`.\r\n\r\nWhat is the recommended way of migrating the old state backends to the new ones and make use of the new `environments` feature."}}
{"actor":{"display_login":"Puneeth-n"}}