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

Feature: Lambda Layers #25

Closed
heitorlessa opened this issue Apr 27, 2020 · 10 comments
Closed

Feature: Lambda Layers #25

heitorlessa opened this issue Apr 27, 2020 · 10 comments
Assignees
Labels
feature-request feature request

Comments

@heitorlessa
Copy link
Contributor

Leaving this for consideration and see if we have customer traction as we go GA - Not necessarily a blocker for GA but could be helpful to customers.

If you'd like this to be available for all Python runtimes supported in addition to PyPi, please leave a 👍

@djk
Copy link

djk commented May 22, 2020

Having an AWS managed & hosted lambda layer for this would be greatly appreciated!

@heitorlessa heitorlessa added feature-request feature request and removed python labels Jun 2, 2020
@mwarkentin
Copy link

In the meantime, this is available in the super helpful https://github.com/keithrozario/Klayers repo.

@am29d am29d self-assigned this Jul 8, 2020
@markusbecker
Copy link

@mwarkentin True that. Unfortunately not usable in an enterprise context since this source is not safe to work with. An official layer from AWS would really help without the heavy lifting from customers site.

@heitorlessa
Copy link
Contributor Author

@am29d is currently working on it :) We're currently working on automating the Lambda Layers publishing pipeline to match our release process.

@markusbecker
Copy link

Awesome!

@keithrozario
Copy link

Can't wait!! :)

@heitorlessa
Copy link
Contributor Author

hey everyone - This is now AVAILABLE on SAR as of 1.4.0: https://github.com/awslabs/aws-lambda-powertools-python/releases/tag/v1.4.0

We've also taken the time to update the release process to ensure both PyPi and SAR semantic versioning match, so you can trust the CHANGELOG as you would normally :)

Docs: https://awslabs.github.io/aws-lambda-powertools-python/#lambda-layer

cc @keithrozario @markusbecker @mwarkentin @djk

@mwarkentin
Copy link

Is anyone aware of similar functionality for Serverless Framework that would allow us to embed the SAR app like this?

@am29d
Copy link
Contributor

am29d commented Aug 26, 2020

Hi @mwarkentin , the Serverless Framework can handle the Transform directive since v1.4.1:

serverless/serverless#5997

This should like this:

resources:
  Transform: AWS::Serverless-2016-10-31
  Resources:
    AwsLambdaPowertoolsPythonLayer:
      Type: AWS::Serverless::Application
      Properties:
        Location:
          ApplicationId: arn:aws:serverlessrepo:eu-west-1:057560766410:applications/aws-lambda-powertools-python-layer
          SemanticVersion: 1.3.1 # change to latest semantic version available in SAR

@mwarkentin
Copy link

@am29d would it make sense to add a section about this to the docs? I'm sure there are lots of Serverless Framework users who would be interested in using this installation method.

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

No branches or pull requests

6 participants