Serverless: Resource DynamoDb Error on deploy in another region

Created on 27 Jun 2017  ·  3Comments  ·  Source: serverless/serverless

Bug Report

Description

Deploy crashes when I try to deploy in multiple regions.

Ex: An error occurred while provisioning your stack: LocalesDynamoDbTable - locales-dev already exists.

bug

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 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.

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings