Skip to content

ddhogan/puppy_watch_lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puppy Watch Lambda

This mini-project provides an AWS Lambda that creates a JSON document from a specific endpoint and uploads it to a S3 bucket.

Prerequisites

  • This project was developed with Python 3.7+

Getting Started

  • git clone & cd into it
  • Make the virtual environment:
    • mkvirtualenv -p /usr/local/bin/python3.8 -r requirements.txt

Tests

  • coming eventually
  • In the meantime, lint with flake8

Configuration

  • Define AWS credentials in either config.yaml or in the [default] section of ~/.aws/credentials. To use another profile, append something like --profile user1.
  • Edit config.yaml if you want to specify a different AWS region, role, and so on.
  • Make sure you do not commit the AWS credentials to version control.

Invocation

lambda invoke -v

Deploy

To deploy:

lambda deploy --requirements requirements.txt

About

a simple AWS Lambda to collect info about puppies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages