Open LaurentLesle opened 8 months ago
Thanks for this feature request! If you are viewing this issue and would like to indicate your interest, please use the 👍 reaction on the issue description to upvote this issue. We also welcome additional use case descriptions. Thanks again!
Terraform Version
Use Cases
When I run a test and want to test the validation rules are working as expected I can set some fake attribute values to force the validation rule to fail. This is expected but when I add the expect_failures = [xxx] the terraform logs don't display the validation rules that has failed. keeping those validation rules with the failure message will put an evidence the rule has failed as expected.
Attempted Solutions
Here a test run [expect_failures commented]:
result:
Now if I set the expect_failures and re-run:
I get the following result:
Proposal
My proposition is to get a combined view of the validation rule errors:
Expected:
References
No response