Deploy crashes when I try to deploy in multiple regions.
Ex: An error occurred while provisioning your stack: LocalesDynamoDbTable - locales-dev already exists.
I try use sa-east-1 region! (https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/)
Hey @rdehnhardt thanks for opening 👍
Could you please share your serverless.yml
file and the steps you took to deploy so that we can dig into this?
Thanks in advance!
Ok. I took another look at your error message.
This seems to be a duplicate of https://github.com/serverless/serverless/issues/3183.
I'll close this one since we track the progress in #3183. Feel free to chime in over there 👍.
The root cause of the problem is that your DynamoDB table definition has (very likely) a DeletionPolicy
of Retain
which prevents it from unprovisioning /removing when removing the stack. You can find more info about it here: https://github.com/serverless/serverless/issues/3148#issuecomment-276013269.
Most helpful comment
Ok. I took another look at your error message.
This seems to be a duplicate of https://github.com/serverless/serverless/issues/3183.
I'll close this one since we track the progress in #3183. Feel free to chime in over there 👍.
The root cause of the problem is that your DynamoDB table definition has (very likely) a
DeletionPolicy
ofRetain
which prevents it from unprovisioning /removing when removing the stack. You can find more info about it here: https://github.com/serverless/serverless/issues/3148#issuecomment-276013269.