diff --git a/aws/resource_aws_transfer_user.go b/aws/resource_aws_transfer_user.go index 47449b31dd6..633c2d63614 100644 --- a/aws/resource_aws_transfer_user.go +++ b/aws/resource_aws_transfer_user.go @@ -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), }, }, },