Add "lowercase" to error message

This commit is contained in:
Paul Tyng 2016-01-28 18:20:50 -05:00
parent fea99747c2
commit 15f3091f9d
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ func validateSubnetGroupName(v interface{}, k string) (ws []string, errors []err
value := v.(string)
if !regexp.MustCompile(`^[ .0-9a-z-_]+$`).MatchString(value) {
errors = append(errors, fmt.Errorf(
"only alphanumeric characters, hyphens, underscores, periods, and spaces allowed in %q", k))
"only lowercase alphanumeric characters, hyphens, underscores, periods, and spaces allowed in %q", k))
}
if len(value) > 255 {
errors = append(errors, fmt.Errorf(