Geeks With Blogs
Load "BLOG", 8, 1 This is the best I could do on short notice.

Today I received the following error when trying to deploy from Azure DevOps a lambda to AWS via a zip file in S3:

[ERROR] PermissionError: [Errno 13] Permission denied: '/var/task/inspector.py'
Traceback (most recent call last):
  File "/var/lang/lib/python3.7/imp.py", line 300, in find_module
    with open(file_path, 'rb') as file:

I was compressing the inspector.py using the Compress-Archive powershell function:

Continued on: https://ralphwillgoss.github.io/blog/2020/09/14/permission-error-when-deploying-lambda-from-zip-in-s3

Posted on Friday, October 2, 2020 1:27 PM AzureDevOps , AWS , Lambda | Back to top


Comments on this post: Permission error when deploying a Lambda from a zip file in S3 - [Errno 13] Permission denied

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Ralph Willgoss | Powered by: GeeksWithBlogs.net