Skip to content

jyoti-c/aws-s3-file-compare-and-slack-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-s3-file-compare-and-slack-report

This code performs the following operations -

  1. Reads the file from your AWS S3 bucket using boto3
  2. Compares the file with your local file using Python difflib
  3. Generates an HTML and PNG report of the difference
  4. Sends the report to a slack channel using Python Slack SDK
  5. Uploads the new file and report to AWS S3 using boto3

To run the main.py, the following values are to be passed as command line argunments -

  1. AWS account access key
  2. AWS account secret key
  3. AWS S3 bucket name
  4. File name in AWS S3
  5. Slack App OAuth Token
  6. Slack Channel Id

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages