Skip to content
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

Update dynamodb index/table #12

Open
stephan-nordnes-eriksen opened this issue Jul 13, 2018 · 1 comment
Open

Update dynamodb index/table #12

stephan-nordnes-eriksen opened this issue Jul 13, 2018 · 1 comment

Comments

@stephan-nordnes-eriksen

I am trying to update a dynamodb table (index, and/or keys). Is this possible with this library? Do I have to remove the entire stack before doing so?

@stephan-nordnes-eriksen
Copy link
Author

stephan-nordnes-eriksen commented Jul 13, 2018

For reference, I am getting the following errors when trying to add a Range key to an existing global secondary index. (or remove it).

Serverless: Updating additional stack permanent...
....
Serverless: Additional stack permanent updated failed (UPDATE_ROLLBACK_COMPLETE).

  Error --------------------------------------------------

  Additional stack permanent updated failed (UPDATE_ROLLBACK_COMPLETE)

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Stack Trace --------------------------------------------

Error: Additional stack permanent updated failed (UPDATE_ROLLBACK_COMPLETE)
    at describeStack.then.response (/Users/project/node_modules/serverless-plugin-additional-stacks/index.js:433:35)
From previous event:
    at runCallback (timers.js:810:20)
    at tryOnImmediate (timers.js:768:5)
    at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
    at readMore (/Users/project/node_modules/serverless-plugin-additional-stacks/index.js:415:8)
    at <anonymous>

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information -----------------------------
     OS:                     darwin
     Node Version:           8.11.2
     Serverless Version:     1.27.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant