terraform-plugin-sdk
terraform-plugin-sdk copied to clipboard
Ability to test whether warnings are raised during test steps
SDK version
N/A
Use-cases
Currently, ExpectError
field only allows checking errors, not warnings. This makes provider developers hard to test certain scenarios where warnings are expected and want to validate the exact behavior in tests.
Attempted Solutions
N/A
Proposal
N/A
References
https://discuss.hashicorp.com/t/how-to-test-warnings/34259