Skip to content

InspiredMember/serverless-plugin-s3-packager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Plugin for Packaging Files from AWS S3

This plugin simply performs an S3 getObject of the specified files to their respectively defined paths, and then removes the files after the serverless deployment package is created.

Installation

npm i --save serverless-plugin-s3-packager

Use (in serverless.yml)

plugins:
  - serverless-plugin-s3-packager

custom:
  s3files:
    - Bucket: "bucket-1"
      Key: "path/to/file1"
      Dst: "./file1"
    - Bucket: "bucket-2"
      Key: "path/to/file2"
      Dst: "./file2"

About

Package and deploy files from S3 into Serverless deployments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published