diff --git a/aws/resource_aws_lightsail_instance.go b/aws/resource_aws_lightsail_instance.go index 780e65f2359..12168a8cba4 100644 --- a/aws/resource_aws_lightsail_instance.go +++ b/aws/resource_aws_lightsail_instance.go @@ -31,7 +31,7 @@ func resourceAwsLightsailInstance() *schema.Resource { Required: true, ForceNew: true, ValidateFunc: validation.All( - validation.StringLenBetween(3, 255), + validation.StringLenBetween(2, 255), validation.StringMatch(regexp.MustCompile(`^[a-zA-Z]`), "must begin with an alphabetic character"), validation.StringMatch(regexp.MustCompile(`^[a-zA-Z0-9_\-.]+[^._\-]$`), "must contain only alphanumeric characters, underscores, hyphens, and dots"), ),