serverless-meta-sync icon indicating copy to clipboard operation
serverless-meta-sync copied to clipboard

Serverless supports multiple accounts and so should meta sync

Open orthodoc opened this issue 8 years ago • 5 comments

Meta sync fails when synching with stages in different accounts.

And since bucket names are unique across domains, the keyPrefix must necessarily include the stage name.

orthodoc avatar May 18 '16 18:05 orthodoc

On second thoughts: you don't want to sync prod stage even if it was in a separate account. Placing prod variables in a separate account is what prevents it from being shared in the first place.

But thinking about the case where a CI server may need access to prod variables before an auto deploy!!

orthodoc avatar May 19 '16 07:05 orthodoc

+1 multiple users work on our project's stages and as such all need access to the stages meta data

JamieCressey avatar May 19 '16 20:05 JamieCressey

+1

aliatsis avatar May 30 '16 06:05 aliatsis

+1 here too. We have a separate production AWS account, so sls meta sync should be able to sync production stage variables to a separate S3 bucket under that account.

kennu avatar Jun 07 '16 14:06 kennu

+1

FreeWillaert avatar Sep 26 '16 12:09 FreeWillaert