# Deploy the same yml in parallel

**URL:** <https://forum.serverless.com/t/deploy-the-same-yml-in-parallel/10153>\
**Category:** Serverless Framework\
**Created:** [December 30, 2019, 5:41pm UTC](https://forum.serverless.com/t/deploy-the-same-yml-in-parallel/10153 "2019-12-30T17:41:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saart](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@saart](https://forum.serverless.com/u/saart)\
**Post date:** [December 30, 2019, 5:41pm UTC](https://forum.serverless.com/t/deploy-the-same-yml-in-parallel/10153/1 "2019-12-30T17:41:32Z")

</div>

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
