python-lambda
python-lambda copied to clipboard
Click commands should use correct keyword args for requirements
The build command in scripts/lambda uses keyword arguments that are inconsistent with the build function in aws_lambda.py
def build(use_requirements, local_package, config_file): aws_lambda.build( CURRENT_DIR, use_requirements=use_requirements, local_package=local_package, config_file=config_file, )
aws_lambda build function signature looks like this:
def build( src, requirements=False, local_package=None, config_file='config.yaml'):
Looks like build, deploy, deploy s3 all seem to be using use_requirements key word args. Maybe the aws_lambda function needs to be edited to accomodate these variable name changes?