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

Upgrade Region Backend Service state #1840

Merged
merged 2 commits into from
May 28, 2019

Conversation

rileykarson
Copy link
Member

Fixes hashicorp/terraform-provider-google#3718

We accidentally bumped the state version in #1700, mirror a real state bump that occurred for BackendService. Migrating state versions was never actually possible for BackendService (the MigrateState func was never added) but that was long enough ago that every BS is at SchemaVersion 1.

Since the bump for RBS happened now, this is something we need to solve. Add a noop migrate fn to allow users to transition from version 0 to 1.


[all]

[terraform]

[terraform-beta]

[ansible]

[inspec]

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician, I work on Magic Modules.
This PR seems not to have generated downstream PRs before, as of c9eee13.

Pull request statuses

No diff detected in Ansible.
No diff detected in Inspec.

New Pull Requests

I built this PR into one or more new PRs on other repositories, and when those are closed, this PR will also be merged and closed.
depends: hashicorp/terraform-provider-google-beta#775
depends: GoogleCloudPlatform/terraform-google-conversion#90
depends: hashicorp/terraform-provider-google#3731

rileykarson and others added 2 commits May 28, 2019 18:16
Tracked submodules are build/terraform-beta build/terraform-mapper build/terraform build/ansible build/inspec.
@modular-magician modular-magician merged commit 78b5376 into GoogleCloudPlatform:master May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot upgrade state, missing MigrateState function
4 participants