Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing required key 'FunctionName' in params #84

Open
benbowler opened this issue Jul 23, 2016 · 1 comment
Open

Missing required key 'FunctionName' in params #84

benbowler opened this issue Jul 23, 2016 · 1 comment

Comments

@benbowler
Copy link

benbowler commented Jul 23, 2016

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: {
        }
    }
  });
@akwasin
Copy link

akwasin commented Nov 1, 2017

@ben
Did you find a solution to this issue ?

Edit:
The solution is to add necessary key value pair to the Environment variables in your specific Lambda configuration inside AWS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants