I am trying to import python code in a Lambda Layer and the import seems to succeed (i have it in a try-except block that logs when it errors) but when I try to run the code I get a NameError with what I import. Rather than typing it all out again, the full explanation is in this StackOverflow post.
Does anyone know what I’m doing wrong with this import?