diff --git a/cloud/validate_helpers.go b/cloud/validate_helpers.go index 7194ed0..126a9b3 100644 --- a/cloud/validate_helpers.go +++ b/cloud/validate_helpers.go @@ -33,8 +33,8 @@ func validateNotBlank(val interface{}, key string) (warns []string, errs []error func validateEngine(val interface{}, key string) (warns []string, errs []error) { v := val.(string) - if v != "" && v != "ursa" { - errs = append(errs, fmt.Errorf("%q must be pulsar", key)) + if v != "" && v != "classic" && v != "ursa" { + errs = append(errs, fmt.Errorf("%q must be empty, classic, or ursa", key)) } return }