Skip to content

Commit 48b3032

Browse files
Install boto3, and import needed dependencies
1 parent cf2d372 commit 48b3032

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ Run the python funtion locally using VS Code Run Button
2828
2929
{'statusCode': 200, 'body': 'Hello, Emmanuel Ogah!'}"
3030
```
31+
32+
- Create the terraform folder structure
33+
34+
- imp

lambda/hello.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
import json
2+
import logging
3+
import boto3
4+
import os
5+
import uuid
6+
from datetime import datetime
7+
18
# Hello lambda function
29
def lambda_handler(event, context):
310
name = event.get("name", "World")

0 commit comments

Comments
 (0)