-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
terraform: Error message for unknown error_message in variable valida…
…tion In cases where the "condition" is known but the "error_message" is not, we were previously returning the generic error about the error message not being evaluable. In the long run we'll want to do something better here to minimize the chances of this situation arising -- reporting an error that we don't know how to describe is a poor user experience -- but this is a temporary intervention to at least make the error message more relevant in the meantime, while we design how Terraform actually ought to behave in this awkward situation.
- Loading branch information
1 parent
46a6d3f
commit eb7f58c
Showing
2 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters