Skip to content

Don't validate apply variables from auto files#36180

Merged
jbardin merged 1 commit intomainfrom
jbardin/var-file-apply
Dec 10, 2024
Merged

Don't validate apply variables from auto files#36180
jbardin merged 1 commit intomainfrom
jbardin/var-file-apply

Conversation

@jbardin
Copy link
Copy Markdown
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 requested a review from a team as a code owner December 9, 2024 17:17
@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
@jbardin jbardin deleted the jbardin/var-file-apply branch December 10, 2024 15:14
@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 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