Missing required key 'FunctionName' in params
benbowler opened this issue · 1 comments
benbowler commented
Running "lambda_deploy:prod" (lambda_deploy) task
AWS API request failed with undefined - MissingRequiredParameter: Missing required key 'FunctionName' in params
I've set the function option but I can't seem to avoid this message deploying to Lambda. Have there been API updates?
Here's my full conf.
// Lambda
lambda_invoke: {
default: {
}
},
lambda_deploy: {
default: {
options: {
// aliases: 'prod',
// enableVersioning: true
},
function: '<%= aws.AWSLambdaFunctionName =>',
arn: '<%= aws.AWSLambdaARN %>'
}
// prod: {
// options: {
// aliases: 'prod',
// enableVersioning: true
// },
// arn: '<%= aws.AWSLambdaARN %>'
// }
},
lambda_package: {
default: {
},
prod: {
}
}
});