Hey,
I’m trying to deploy, in parallel, the same serverless.yml to two different profiles using the flag --aws-profile
.
Unfortunately, I’m getting different exceptions on conflicting access to the directory .serverless
,
mainly: no such file or directory
, CodeSHA256 (..) is different from current CodeSHA256 in $LATEST (..)
, etc.
I tried to use the package
feature (put the deploy package in a different directory per process), but it works only partially because it is still using .serverless
inside the two processes which create race conditions.
Is there a way to change sls
's working directory?
Thanks,
Saar