Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chandradeoarya/0950ce4deb4c4e7678c6336858c1348d to your computer and use it in GitHub Desktop.
Save chandradeoarya/0950ce4deb4c4e7678c6336858c1348d to your computer and use it in GitHub Desktop.
This lambda function will return the list of devops topics.
import json
import os
def lambda_handler(event, context):
# print (event)
statusCode = 200
return {
"statusCode": statusCode,
"body": json.dumps(["ansible", "jenkins", "docker", "k8s"]),
"headers": {
"Content-Type": "application/json"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment