This is a mess. I will edit it later This is the command history to build a Lambda Layer in Python. I had to add a C compiler, Compile Python 3.9 with a specific requests module, and then upload to S3 and Add the Layer to Lambda function before I could use it but […]
Recently, I had the need to compile Python 3.9 on AWS CloudShell which was necessary to create a Lambda Layer for the requests module. This required add a C compiler to CloudShell. The steps are: Step 1: Update packages. sudo yum update Step 2: Install GCC sudo yum groupinstall “Development Tools” Step 3: […]