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

Allow unknown error_message values during validate walk #35537

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

jbardin
Copy link
Member

@jbardin jbardin commented Aug 5, 2024

When evaluating variable validation, we may have valid error_message values which are unknown due to all other referenced input variables being unknown during the validate walk. In the rare case where the variable validation is known but the error_message is not, we need to be able to proceed to the plan phase in order to check the validation more thoroughly.

Fixes #35397

Target Release

1.10

Draft CHANGELOG entry

BUG FIXES

  • Allow unknown error_message values to pass the core validate step, so variable validation can be completed later during plan.

When evaluating variable validation, we may have valid error_message
values which are unknown due to input other referenced input variables
always being unknown during the validate walk. In the rare case where
the variable validation is known but the error_message is not, we need
to be able to proceed to the plan phase in order to check the validation
more thoroughly.
@jbardin jbardin merged commit 92888a6 into main Aug 6, 2024
6 checks passed
Copy link
Contributor

github-actions bot commented Aug 6, 2024

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

@jbardin jbardin deleted the jbardin/unknown-error-validation branch August 6, 2024 12:50
Copy link
Contributor

github-actions bot commented Sep 6, 2024

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 Sep 6, 2024
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.

Variable validation error_message dynamic evaluation fails
2 participants