Closed
Description
Expected behavior
When adding a third-party dependency, I would expect the zip file to correctly have the resources of all dependencies.
Actual behavior
When adding a 3rd party dependency (https://github.com/awslabs/aws-sdk-swift was what happened with me), the resources files for the dependencies were not added to the final zip. This caused an issue when trying to start up the lambda.
Steps to reproduce
- Follow this guide (https://fabianfett.dev/getting-started-with-swift-aws-lambda-runtime)
- Add AWS SDK to project
- Archive and upload to lambda
- See failure on launch with fatalerror looking for resource bundle.
If possible, minimal yet complete reproducer code (or URL to code)
No response
What version of this project (swift-aws-lambda-runtime
) are you using?
1.0.0-alpha-3
Swift version
Swift 5.10
Amazon Linux 2 docker image version
No response