Update validargs.go

This commit is contained in:
Thomas Tendyck 2022-05-13 11:29:41 +02:00
parent 9c5590bbce
commit fde7304d78

View File

@ -17,7 +17,7 @@ import (
func warnAWS(providerPos int) cobra.PositionalArgs {
return func(cmd *cobra.Command, args []string) error {
if cloudprovider.FromString(args[providerPos]) == cloudprovider.AWS {
return errors.New("AWS isn't supported")
return errors.New("AWS isn't supported by this version of Constellation")
}
return nil
}