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

adding layers support for lambda backend #3563

Merged
merged 4 commits into from
Jan 17, 2021

Conversation

enoodle
Copy link
Contributor

@enoodle enoodle commented Dec 23, 2020

This adds basic support for layers to the lambda resource.
Adding support for boto3.client('lambda').publish_layer_version(...) and boto3.client('lambda').list_layer_versions(LayerName='') and also supporting Layer information passed to functions.

It does not implement all the layers API and it is not adding the layers to the lambda invocation simulation.

Fixes: #3188

@enoodle enoodle force-pushed the adding_lambda_layers_support branch from 9962c62 to 9b12f11 Compare January 10, 2021 17:01
@enoodle enoodle force-pushed the adding_lambda_layers_support branch from 9b12f11 to 641c5fb Compare January 10, 2021 20:34
@coveralls
Copy link

coveralls commented Jan 10, 2021

Coverage Status

Coverage increased (+0.04%) to 94.612% when pulling 4d7dda7 on enoodle:adding_lambda_layers_support into f749f58 on spulec:master.

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @enoodle, thanks for the PR!

Could you add a CloudFormation-test as well, to verify that create_from_cloudformation_json works as expected?

Looks like the build is failing as well: https://travis-ci.org/github/spulec/moto/builds/753836363

@enoodle
Copy link
Contributor Author

enoodle commented Jan 17, 2021

@bblomers I have added those tests and fixed the formatting issues.

Copy link
Collaborator

@bblommers bblommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks again @enoodle!

@bblommers bblommers merged commit 9784e1b into getmoto:master Jan 17, 2021
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

Successfully merging this pull request may close these issues.

Support lambda layers
3 participants