Skip to content

Ignore remote version conflict for force-unlock#33718

Merged
brandonc merged 1 commit intomainfrom
IPL-3022-terraform-cloud-state-locking-regression-for-local-users
Aug 31, 2023
Merged

Ignore remote version conflict for force-unlock#33718
brandonc merged 1 commit intomainfrom
IPL-3022-terraform-cloud-state-locking-regression-for-local-users

Conversation

@brandonc
Copy link
Copy Markdown
Contributor

terraform force-unlock should allow backends to ignore version conflicts since it does not write state.

Fixes #28853

Target Release

1.6.0

Copy link
Copy Markdown
Member

@nfagerlund nfagerlund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reproduced the bug with 1.4.something against a 1.0.something workspace, then confirmed that this patch allows a proper force-unlock against the same workspace. 👍🏼

@brandonc brandonc added the 1.6-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Aug 31, 2023
@brandonc brandonc force-pushed the IPL-3022-terraform-cloud-state-locking-regression-for-local-users branch from 7caa959 to 5867c41 Compare August 31, 2023 17:55
@brandonc brandonc merged commit 89aa28b into main Aug 31, 2023
@github-actions
Copy link
Copy Markdown
Contributor

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

@github-actions
Copy link
Copy Markdown
Contributor

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 Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

1.6-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

terraform force-unlock: Failed to load state:remote workspace Terraform version "0.13.5" does not match local Terraform version "0.15.4"

2 participants