Open vishnurpiper opened 3 weeks ago
@vishnurpiper
Your configuration is fine. This is the limitation of the plugin unfortunately I did not foresee. It's caused by my simplistic use of the copy_to_container
function
copy_to_container(src=f"{CURRENT_WORK_DIR}/.", dst=f"{container.id}:/")
Thanks for finding this limitation. I will be able to fix that next week unless you would like to make some contribution.
Thanks for the quick response. I'll take a look, don't think I'll beat you to a fix considering commitments on my end. But, do keep me posted when you have something for me to try. Just an hour into using the plugin, it has been a big time saver so far.
This is my project setup (using standard poetry folder structures) -
each of the lambda packages reference the local lib package (something like below - works fine for local development & debugging)
Ran the plugin from one of the lambda package folders using
poetry build-lambda
Works great (all in one or separate lambda/layer packages) w/o docker build. The zips created have all the dependencies (including the local package)When I add docker build, there's an error that its unable to find the local poetry-lib-package. Most likely when in the context of the docker container, it does not have the lib package in src.
Path poetry-lib-package does not exist
The zips produced are empty when this error occurs.Does my setup look ok?