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

Getting MODULE_NOT_FOUND when using on function with Layer #102

Open
ea-tal opened this issue Sep 26, 2020 · 0 comments
Open

Getting MODULE_NOT_FOUND when using on function with Layer #102

ea-tal opened this issue Sep 26, 2020 · 0 comments

Comments

@ea-tal
Copy link

ea-tal commented Sep 26, 2020

I am trying to use this plugin with a configuration that ran Instana ( a monitoring system)
their deployment uses layer an should be implemented like this:

functions:
    index:
        handler: 'instana-aws-lambda-auto-wrap.handler'
        environment:
            LAMBDA_HANDLER: 'dist/index.handler'
        events:
            - http:
                  method: get
                  path: /hi
        layers:
            - arn:aws:lambda:us-east-1:410797082306:layer:instana-nodejs:30

When I deploy the configuration, It tries to optimize "instana-aws-lambda-auto-wrap.handler" and I get MODULE_NOT_FOUND

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

1 participant