Skip to content

mbudm/serverless-s3-local-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless-s3-local-sync

serverless plugin that syncs a directory with a local s3 bucket

Works with these plugins:

Example serverless.yml

plugins:
  - serverless-offline # this plugin uses offline hooks
  - serverless-s3-sync # not required but this plugin uses the s3Sync custom config
  - serverless-s3-local # creates the local 'bucket'
  - serverless-s3-local-sync # specify this plugin last, as it relies on the others

custom:
  s3: # serverless-s3-local config
    host: 0.0.0.0
    port: 5000
    directory: /tmp/s3bucket
    cors: false
    # noStart: true
  s3Sync: # serverless-s3-sync cobfig
    - bucketName: yourBucketName
      localDir: src 

About

serverless plugin that syncs a directory with a local s3 bucket

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published