This repository was archived by the owner on Jan 1, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 71
Sync is just one-way? #117
Copy link
Copy link
Open
Description
Perhaps I'm not understanding this library correctly:
- I have configuration files hosted in S3
- I would like
sls s3sync, orsls deployto sync these files to the specified local folder - Neither of these commands seem to be downloading the files
- Running
sls removedoes delete the contents of the bucket I have specified
Is syncing from an S3 bucket to the local repository not supported by this library? Or have I misconfigured something?
Here is what my configuration looks like:
plugins:
- serverless-s3-sync
custom:
s3Sync:
noSync: false
buckets:
- bucketName: my-s3-bucket
bucketPrefix: config/
localDir: config/secrets
deleteRemoved: falseRunning sls s3sync returns the following:
Running "serverless" from node_modules
(node:15707) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
✔ Synced files to S3 buckets
✔ Synced bucket metadata
✔ Updated bucket tagsBut nothing is updated in my local folder. I would like to have the contents of the S3 buckets synced to the serverless package before each deploy, is what I'm trying to achieve.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels