Validate auth0_email_provider credential with the terraform validate
command
#873
Labels
🌱 feature
New feature or request
terraform validate
command
#873
Checklist
Describe the problem you'd like to have solved
Currently if you try and apply an email provider resource without anything set in the
email_provider_credentials
property, you get the following error when trying to apply:Error: 400 Bad Request: Payload validation error: 'None of the valid schemas were met' on property credentials (Credentials required to use the provider). Inner errors: [ Payload validation error: 'Missing required property: api_key' on property credentials. (also) Payload validation error: 'Too few properties defined (0), minimum 1' on property credentials. ].
Describe the ideal solution
It would be best if this error could be flagged when running
terraform validate
as it's very inconvenient, and too late in the process for it to fail when applying.Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: