Serverless-meta-sync should be able to support syncing the stages as well. Currently the steps to sync a new local copy is a little long:
Clone the repo
Run sls project init - this is good, because it sets the creds that will be used to talk with AWS. you also need to create a stage, which isn't necessarily a bad thing either if you are using a stage per dev.
Run sls stage create multiple time and create each of the common stages (e.g. dev, staging, prod, etc). This is error prone because people need to type things in manually.
Run sls meta sync multiple times to sync the stage data.
steps 3 and 4 above are error prone because of the manual input that is needed. In addition, it can be a little annoying to type all those commands. It would be nice if steps 3 and 4 above could be handled by the plugin.
One solution would be to add a flag to meta sync to sync stages. Another (better from the UX perspective) would be to hook into the project init event and pull the stages and metadata down from s3 once the user enters their creds.
Serverless-meta-sync should be able to support syncing the stages as well. Currently the steps to sync a new local copy is a little long:
sls project init
- this is good, because it sets the creds that will be used to talk with AWS. you also need to create a stage, which isn't necessarily a bad thing either if you are using a stage per dev.sls stage create
multiple time and create each of the common stages (e.g. dev, staging, prod, etc). This is error prone because people need to type things in manually.sls meta sync
multiple times to sync the stage data.steps 3 and 4 above are error prone because of the manual input that is needed. In addition, it can be a little annoying to type all those commands. It would be nice if steps 3 and 4 above could be handled by the plugin.
One solution would be to add a flag to
meta sync
to sync stages. Another (better from the UX perspective) would be to hook into theproject init
event and pull the stages and metadata down from s3 once the user enters their creds.