Closed msato0731 closed 1 year ago
Hi @msato0731
The error indicates that the Lambda source code is not build properly.
│ Error: error archiving directory: could not archive missing directory: .terraform/modules/runtask-iam-access-analyzer/lambda/runtask_eventbridge/site-packages/
Have you tried to run make all
on the root of the module directory as indicated here
@wellsiau-aws
Thank you for answering.
The error was resolved when make all
was done in the lambda directory of the installed module.
I get the following error when running terraform.
Here's what we ran.
Looking in the modules directory, there is no site-packages directory.
I removed
site-pacages
from thesource_dir
of data.tf inmodules/
and the zip file was created successfully.I do not think this approach is the correct response. How should we respond?