Skip to content

michaelniedermayr/codecommitToS3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

codecommitToS3

Update

If the environmental variable 'branch' is defined, all files of that branch are uploaded to the S3 bucket every time a new commit is pushed.

If 'branch' is NOT set, HEAD is used to define which files will be uploaded. It will be stored as an SSM parameter afterwards. This way only modified or new files will be uploaded to the S3 bucket the next time.

IMPORTANT: The Lambda function requires the execution role 'AmazonSSMFullAccess' to access SSM parameters.

Thx to handk85 for this improvement.

Tutorial

Code hosted on AWS CodeCommit Git-repo is deployed to AWS S3-bucket by an AWS Lambda function.

Find more information here: https://medium.com/@michael.niedermayr/using-aws-codecommit-and-lambda-for-automatic-code-deployment-to-s3-bucket-b35aa83d029b

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages