Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.55 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.55 KB

Project Descripion

Architechure

Configuration

  • Since this is public data anyone has access to this file object and they can download it.

How to use this project

  • For anyone who wants to reproduce this project, you can do so by following the instructions below:
  • Create a IAM Role on the AWS Console, give it the required permissions you can create a policy and attached it to the role.
  • $
  • $ pip install -r requirements.txt -t .
  • $ zip function.zip ./ -$ aws lambda create-function --function-name --zip-file fileb://function.zip --handler main.main --runtime python3.6 --timeout 360 --memory-size 1024 --role arn:aws:iam:::role/ --environment Variables={API_TOKEN=}
  • Run/Test the function $ aws lambda invoke --function-name out.json
  • Create a rule for the function using AWS Cloud Watch and set it to run after every 24 hours or whenever you wish to.
  • Attach the Cloud Watch Event to the Lambda Function and everything should be setuo and good to go.

Help is Here!

  • Please reach out to @dev-mtshikomba or @pchundur for assistance.