Python relative imports in AWS Lambda fail with attempted relative import with no known parent package
In AWS Lambda if I attempt an explicit relative import like this
.
├── lambda_file.py
└── example.py
| #!/bin/bash | |
| # Download GitKraken | |
| wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz | |
| # copy the downloaded file into /opt directory | |
| cp gitkraken-amd64.tar.gz /opt/ | |
| cd /opt |