New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant update the logical ID of DynamoDB table #1677
Comments
@pmuens @eahefnawy I think this issue is related/similar to #1684 |
@codepreneur might be. Although #1684 is more related to APIG resources, while this issue seems like a traditional CF template issue. Any particular reason you think this might be related? I think this issue is more of a CloudFormation usage issue, because we simply take the resources you defined and merge them with the template without any manipulation. Maybe it's because of the |
@codepreneur I can confirm that this is a CF issue. On the first deploy, you created a DynamoDB table (with a resource name of CF will only start to cleanup old resources -after- a successful deployment of a stack. In this case, you have 2 options:
In both cases, you will lose the current table with it's data, so be aware of that. |
@svdgraaf fantastic analysis! 👏 |
@codepreneur is this also resolved with your finding or what @svdgraaf mentioned? As we're getting closer to beta release I'm currently going through open issues and closing them. I'm closing for now, in case this is still an issue let me know and we'll reopen |
@flomotlik yeap, its a CF issue not |
Serverless Framework Version:
Operating System:
Expected Behavior:
Logical ID is changed inside cloud formation.
I have successfully deployed with logical ID (at the top) of
PostsDynamo
, but then I changedPostsDynamo
->LinksDynamo
, saved and redeployed and everything fell apart.Actual Behavior:
so the only way really to change the logical ID of a DynamoDB table is to delete it and create it again
The text was updated successfully, but these errors were encountered: