Closed villekr closed 1 year ago
After taking a more closer look to examples in repository I got my code also working. There were couple of reasons:
Nice and easy once got it working.
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
Deployment and deployed lambda function works as expected when I use 'source_path' with 'pip_requirements'. But with 'source_path' and 'poetry_install' I get the following error:
pyproject.toml contains the following
Versions
Module version [Required]: 4.18.0
Terraform version: Terraform v1.4.6 on darwin_arm64
Provider version(s):
provider registry.terraform.io/hashicorp/aws v5.1.0
provider registry.terraform.io/hashicorp/external v2.3.1
provider registry.terraform.io/hashicorp/local v2.4.0
provider registry.terraform.io/hashicorp/null v3.2.1
provider registry.terraform.io/hashicorp/random v3.5.1
Reproduction Code [Required]
My module definition is the following:
Steps to reproduce the behavior:
No (but I'm using terragrunt for deployment) Yes 'terragrunt apply' fails ## Expected behaviorActual behavior
Terminal Output Screenshot(s)
Additional context
Here it's stated that '--without-hashes' should be added to poetry export. https://github.com/python-poetry/poetry/issues/3472