Skip to content
New issue

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

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

Already on GitHub? # to your account

Backport of command/show: Disable plan state lineage checks into v1.1 #30295

Conversation

teamterraform
Copy link
Contributor

Backport

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

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


When showing a saved plan, we do not need to check the state lineage against current state, because the plan cannot be applied. This is relevant when plan and apply specify a -state argument to choose a non-default state file. In this case, the stored prior state in the plan will not match the default state file, so a lineage check will always error.

Fixes #30195

@teamterraform teamterraform force-pushed the backport/alisdair/fix-show-plan-against-non-default-state/blatantly-balanced-porpoise branch from 10a5e24 to 24c44b3 Compare January 5, 2022 17:03
@teamterraform teamterraform requested a review from alisdair January 5, 2022 17:03
@alisdair alisdair merged commit d59cff8 into v1.1 Jan 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2022

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 Feb 5, 2022
@xiehan xiehan deleted the backport/alisdair/fix-show-plan-against-non-default-state/blatantly-balanced-porpoise branch July 22, 2024 12:11
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants