Clarify the error message reporting that an account ID could not be loaded to indicate the valid sources of an account ID.

This commit is contained in:
Erik Erikson 2016-03-16 23:04:46 -07:00
parent 5406973b1a
commit a478a3dd78

View File

@ -131,7 +131,7 @@ module.exports = function(S) {
// If no iamRoleLambda, throw error
if (!_this.awsAccountNumber) {
throw new SError('No Lambda IAM Role found');
throw new SError('Neither an accountId variable nor a Lambda IAM Role variable containing the account ID were found');
}
// Get populated endpoint