This error message usually indicates that the source code directory or file specified for Lambda function deployment is either missing or not accessible. To resolve this error, ensure that you have provided the correct source_path parameter in your Terraform configuration and that it refers to a valid location containing the Lambda function code. Also, ensure that the code is readable by the IAM role or account used by Terraform to deploy the function.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-03-20 11:00:00 +0000
Seen: 9 times
Last updated: May 06 '21