Skip to content

Commit

Permalink
add validation setting
Browse files Browse the repository at this point in the history
  • Loading branch information
teraken0509 committed Jan 10, 2020
1 parent 2cea27e commit 3c89dd7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions aws/resource_aws_transfer_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ func resourceAwsTransferUser() *schema.Resource {
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"entry": {
Type: schema.TypeString,
Required: true,
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(0, 1024),
},
"target": {
Type: schema.TypeString,
Required: true,
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringLenBetween(0, 1024),
},
},
},
Expand Down

0 comments on commit 3c89dd7

Please sign in to comment.