Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of command: Suppress prompt for init -force-copy into v1.0 #29439

Conversation

teamterraform
Copy link
Contributor

Backport

This PR is auto-generated from #29438 to be assessed for backporting due to the inclusion of the label 1.0-backport.

The below text is copied from the body of the original PR.


The -force-copy flag to init should automatically migrate state. Previously this was not applied to one case: when migrating from a backend with multiple workspaces to another backend supporting multiple workspaces. I believe this was an oversight so this commit fixes that.

Fixes #29239

@teamterraform teamterraform force-pushed the backport/alisdair/init-force-copy-multiple-workspaces/partially-pumped-chow branch from a0c0197 to c91c22b Compare August 20, 2021 19:22
@alisdair alisdair self-assigned this Aug 20, 2021
@alisdair alisdair merged commit 4f76f5d into v1.0 Aug 20, 2021
@alisdair alisdair deleted the backport/alisdair/init-force-copy-multiple-workspaces/partially-pumped-chow branch August 20, 2021 19:30
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants