diff --git a/lib/actions/EndpointBuildApiGateway.js b/lib/actions/EndpointBuildApiGateway.js index 154782213..ce007f480 100644 --- a/lib/actions/EndpointBuildApiGateway.js +++ b/lib/actions/EndpointBuildApiGateway.js @@ -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