3
How to Debug AWS Lambda Code with PyCharm
source link: https://hackernoon.com/how-to-debug-aws-lambda-code-with-pycharm-027y3587
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Prerequisites
We must have the AWS credentials available in the home
~/.aws/credentials
. See this link to configure AWS CLI. The full project is here.0 reactions
Let’s start…
0 reactions
Here is my sample lambda function.
0 reactions
A sample lambda function with 2 triggers, one from S3-Put and another from SQS receive message.
0 reactions
This function also has some environment variables.
0 reactions
The function also has a layer. Here is the code for the layer
0 reactions
# dummy_layer.py
def call_dummy():
return "Hello from dummy layer"
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK