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

Validate auth0_email_provider credential with the terraform validate command #873

Open
1 task done
AshleyEke opened this issue Nov 8, 2023 · 0 comments
Open
1 task done
Labels
🌱 feature New feature or request

Comments

@AshleyEke
Copy link

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

@AshleyEke AshleyEke added the 🌱 feature New feature or request label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant