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

Don't validate apply variables from auto files #36180

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

jbardin
Copy link
Member

@jbardin jbardin commented Dec 9, 2024

The CLI attempts to prevent the user from inputting non-ephemeral variables during apply which don't match the stored plan values. Since the user can't avoid variables parsed from auto-loaded files, we have to ignore those values.

Fixes #36177

The CLI attempts to prevent the user from inputting non-ephemeral
variables during apply which don't match the stored plan values. Since
the user can't avoid variables parsed from auto-loaded files, we have to
ignore those values.
@jbardin jbardin added the 1.10-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Dec 10, 2024
@jbardin jbardin merged commit a003a6e into main Dec 10, 2024
8 checks passed
@jbardin jbardin deleted the jbardin/var-file-apply branch December 10, 2024 15:14
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

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 Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.10-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 1.10.1 takes terraform.tfvars when applying planned file
2 participants