serverless-s3-sync
serverless-s3-sync copied to clipboard
Exclude files
Is it possible to exclude files by pattern\directory? For example i dont want to upload source map
👍 I'm uploading to a bucket used for EMR/pyspark and it uploads the *.pyc and the timestamps on the files are off so the *.pyc files (which are outdated) now have a newer in s3 than the *.py files. It would be nice if I could exclude these files rather than having to delete or update all *.pyc files before I deploy.
I support the need for this functionality. Is this in the roadmap?
As an alternate, if this isn't possible, can we have a failSilently
flag, which doesn't end the process if any single file upload fails? This is so that we could add a bucket policy to DENY PutObject for *.map files. This is also the default behavior for CLI aws sync
command.