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

Error using scoped aws dependency. #13

Open
xavier-thomas opened this issue Nov 17, 2020 · 2 comments
Open

Error using scoped aws dependency. #13

xavier-thomas opened this issue Nov 17, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@xavier-thomas
Copy link
Owner

xavier-thomas commented Nov 17, 2020

SUMMARY
ISSUE TYPE

Following error while using the lambda with the scoped aws s3 dependency.

2020-11-17T19:31:59.463+00:00Copy2020-11-17T19:31:59.463Z	8628727c-35b3-4963-a660-aa82557d5217	ERROR	Error during Cleanup - Error: Error Deleting Bucket: [smec244-smec-s3-contract-lifecycle-bucket] - Error Listing Objects in Bucket: [smec244-smec-s3-contract-lifecycle-bucket] - s3.listObjectsV2 is not a function | 2020-11-17T19:31:59.463Z 8628727c-35b3-4963-a660-aa82557d5217 ERROR Error during Cleanup - Error: Error Deleting Bucket: [smec244-smec-s3-contract-lifecycle-bucket] - Error Listing Objects in Bucket: [smec244-smec-s3-contract-lifecycle-bucket] - s3.listObjectsV2 is not a function

-- | --

VERSIONS
All versions using scoped dependencies
CONFIGURATION

STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS

@xavier-thomas xavier-thomas added the bug Something isn't working label Nov 17, 2020
@xavier-thomas
Copy link
Owner Author

@mfarrow701 something to look at. I'll roll back the lambda layers for the moment.

@xavier-thomas xavier-thomas changed the title Error using Lambda Layers Error using scoped aws dependency. Nov 17, 2020
@xavier-thomas
Copy link
Owner Author

Upon further investigation, it appears that https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html#using_v3_commands needs to be used for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant