Closed aitor94 closed 1 year ago
I had the same error, then I came across this discussion, maybe it will help
https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/215#issuecomment-947535848
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
I can't reproduce this issue myself. It seems that there are some more arguments not shown in the original description of this issue.
Please try to run the code in examples/complete
since it is very similar to the one you're providing.
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.
Error creating lambda layer
I'm triying to create a lambda layer using lambda_layer_pip_requirements, creating the layer using the requirements.txt file. The .tf file have this contents:
Module version is 4.12.1. I have checked the path "${path.module}/../../../aws/lambda" and exists. Inside this path exists the requirements file. I have also tried using the absolut path and still getting the same error when running terraform apply.
The complete error is the following:
I also have tried this source path:
Getting the same error. The path exists and also the requrements file.