Skip to content

Update python-package.md#239

Merged
devlinbd2 merged 1 commit into
awsdocs:mainfrom
beaumsc:patch-2
Feb 3, 2021
Merged

Update python-package.md#239
devlinbd2 merged 1 commit into
awsdocs:mainfrom
beaumsc:patch-2

Conversation

@beaumsc

@beaumsc beaumsc commented Jan 31, 2021

Copy link
Copy Markdown
Contributor

I spent many hours tracking down why my Python modules were not importable. When I renamed the package folder in the console from A to B and back from B to A the issue resolved and this led me to the discovery that files and directories must be globally readable for the Lambda to run despite everything looking perfectly OK in the console. I think it is important to fix this flaw or let people know about it.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I spent many hours tracking down why my Python modules were not importable. When I renamed the package folder in the console from A to B and back from B to A the issue resolved and this led me to the discovery that files and directories must be globally readable for the Lambda to run despite everything looking perfectly OK in the console. I think it is important to fix this flaw or let people know about it.
@devlinbd2 devlinbd2 merged commit 4f29b53 into awsdocs:main Feb 3, 2021
@devlinbd2

Copy link
Copy Markdown
Contributor

Thank you for suggesting the note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants