Created
February 27, 2022 16:38
-
-
Save yogeshnile/607798eb4e7d61ca34b8c25faf8cb0d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
def lambda_handler(event, context): | |
FILE_NAME = '/mnt/lambda/test2.txt' | |
with open(FILE_NAME, "w") as F: | |
F.write("Hello from lambda") | |
os.system("ls -alth /mnt/lambda/") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment