mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fix error message for master password being too short
This commit is contained in:
parent
aad01a665c
commit
e281ad6481
@ -816,7 +816,7 @@ func validateRedshiftClusterMasterPassword(v interface{}, k string) (ws []string
|
||||
"%q must contain at least one number", k))
|
||||
}
|
||||
if len(value) < 8 {
|
||||
errors = append(errors, fmt.Errorf("%q must be more than 8 characters", k))
|
||||
errors = append(errors, fmt.Errorf("%q must be at least 8 characters", k))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user