Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #260 from tanmng/feature/client-description-length…
Browse files Browse the repository at this point in the history
…-validation

Support validation for the length of auth0_client description length
  • Loading branch information
alexkappa committed Aug 23, 2020
2 parents 90a87ab + 4f97ab0 commit 4c07bcd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions auth0/resource_auth0_client.go
Expand Up @@ -30,8 +30,9 @@ func newClient() *schema.Resource {
Required: true,
},
"description": {
Type: schema.TypeString,
Optional: true,
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringLenBetween(0, 140),
},
"client_id": {
Type: schema.TypeString,
Expand Down

0 comments on commit 4c07bcd

Please sign in to comment.