Skip to content

AWS Lambda function to transition duplicity files from STANDARD to GLACIER storage class in a AWS S3 bucket

License

Notifications You must be signed in to change notification settings

paweltatarczuk/lambda-s3-to-glacier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

AWS Lambda function - Duplicity S3 to Glacier

Description

Simple Lambda function that moves all duplicity files from S3 'STANDARD' storage class to 'GLACIER' storage class.

Files are moved if all constraints are met:

  • Bigger than 128KB
  • Not ending with .manifest or .manifest.gpg
  • Storage class is 'STANDARD'
  • Older than 1 day

Environment variables

Name Description
BUCKET_NAME (Required) Name of the bucket to process
TIMEOUT Function timeout in seconds, defaults to 30

License

MIT

About

AWS Lambda function to transition duplicity files from STANDARD to GLACIER storage class in a AWS S3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages