-
-
Notifications
You must be signed in to change notification settings - Fork 691
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
docker_additional_options
is not passed to container when building with poetry
#427
Comments
This issue has been automatically marked as stale because it has been open 30 days |
Hi @FurqanHabibi, you mention it is not working with poetry, does that mean it works with pip? |
Ok, understood what you meant when pointing to terraform-aws-lambda/package.py Line 1168 in 1171025
Working on a fix... |
Submitted #443 |
This issue has been resolved in version 4.13.0 🎉 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
We are trying to pass the following environment variable to the docker container via
docker_additional_options
:but as can be seen in the following output, said options is not being passed to the docker run command:
Versions
Reproduction Code
Modify the build-package example's
package_dir_poetry
module belowterraform-aws-lambda/examples/build-package/main.tf
Line 49 in 1171025
by adding
Steps to reproduce the behavior:
https://github.com/terraform-aws-modules/terraform-aws-lambda/tree/master/examples/build-package
Expected behavior
docker_additional_options should be passed to the docker run command.
Actual behavior
docker_additional_options is not passed to the docker run command.
Terminal Output Screenshot(s)
Additional context
The culprit is likely this line
terraform-aws-lambda/package.py
Line 1168 in 1171025
docker
object is not passed todocker_run_command
.The text was updated successfully, but these errors were encountered: