Skip to content

Skip writing variable validations into the state file #34058

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

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

liamcervante
Copy link
Member

This PR skips variable validations when it comes time to write variables into the state file for the v1.6 series. This ensures that we won't see errors when earlier series try to read remote state from the v1.6 releases, and users can switch between Terraform versions.

This is intended to be a temporary workaround only, when v1.7 releases we will see the same errors again but we will have given users more time to update to either the 1.6 series or later, or to the latest patch release in their minor series.

Fixes #34014

Target Release

1.6.2

Draft CHANGELOG entry

BUG FIXES

  • Fix interoperability issues between v1.6 series and earlier series by removing variable validations from the state file.

Copy link
Contributor

@alisdair alisdair left a comment

Choose a reason for hiding this comment

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

Thanks for this! We should probably write the 1.7 CHANGELOG upgrade note now in case we forget later.

@github-actions
Copy link
Contributor

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

Copy link
Contributor

github-actions bot commented Dec 8, 2023

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 8, 2023
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.

None yet

2 participants