Skip to content

Sample project for a file upload with assumed role

Notifications You must be signed in to change notification settings

epsyhealth/s3upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample S3 upload with logging and monitoring

Dependencies

Setup

export AWS_DEFAULT_REGION=us-east-1
export AWS_ACCESS_KEY_ID=xxxxxx
export AWS_SECRET_ACCESS_KEY=yyyyy
export SENTRY_DSN="zzzz"

Install dependencies

poetry install 

Usage

poetry run python upload.py --assume-role="<role>" --bucket=<bucket> <file>

About

Sample project for a file upload with assumed role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages