alekc / terraform-provider-auth0

Mozilla Public License 2.0
18 stars 7 forks source link

Datadog fix #8

Closed alekc closed 2 years ago

alekc commented 2 years ago

Fixes https://github.com/alexkappa/terraform-provider-auth0/issues/444

Auth0 is case sensitive towards datadogRegion property. If a capitalcase (ie. US) is used, api will return an error

{
  "statusCode": 400,
  "error": "Bad Request",
  "message": "Payload validation error: 'Data does not match any schemas from 'oneOf''.",
  "errorCode": "invalid_body"
}

As consequence, a validation has been added to the tf resource.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication