Incorrect ValidationException: No provisioned throughput specified for the table
See original GitHub issueActual Behaviour
AWS announced support for an automatic provisioning pricing plan. More info: https://medium.com/@softprops/putting-dynamodb-scalability-knobs-on-auto-pilot-3af8520439c9.
In short, you can set BillingMode: PAY_PER_REQUEST
and remove the ProvisionedThoughput section. But at the moment serverless-dynamodb-local does not support this:
Validation Exception -----------------------------------
No provisioned throughput specified for the table
Expected Behaviour
No validation error
Steps to reproduce it
Create a template using BillingMode: PAY_PER_REQUEST
:
https://gist.githubusercontent.com/softprops/58c60a1ca2a8e97d6ef63bda3d3c8a9f/raw/27d2721f1d1837e3cca00f854810f484f9239ad4/serverless.yml
Would you like to work on the issue?
Yes
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
No provisioned throughput specified for the table · Issue #189 ...
I've just upgraded aws-sdk to 2.368 but the issue persists. I think the problem is caused by the local DynamoDb instance (https://github.com/ ...
Read more >Unable to create table in DynamoDB with billing mode set to ...
An error occurred (ValidationException) when calling the CreateTable operation: No provisioned throughput specified for the table.
Read more >CreateTable - Amazon DynamoDB - AWS Documentation
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation. If you set...
Read more >Common DynamoDB Errors (and Solutions) - Dynobase
DynamoDB not working as expected? ... AttributeValue may not contain an empty string · Error ValidationException: One or more parameter values were invalid: ......
Read more >Managing Global Secondary Indexes - Amazon DynamoDB
However, you can modify the provisioned throughput of these other indexes. Backfilling. For each item in the table, DynamoDB determines which set of ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@c-neves monkey patch does not take Global Secondary Indexes into account. I’ve created a PR which modifies the migrations object in the createTable function for both tables and indexes. Feel free to give some remarks.
PR: https://github.com/99xt/serverless-dynamodb-local/pull/190
I’ve just upgraded aws-sdk to 2.368 but the issue persists. I think the problem is caused by the local DynamoDb instance (https://github.com/99xt/dynamodb-localhost/).
In the AWS Docs:
I just tried to run
sls dynamodb migrate
on a local DynamoDb using a Docker image (https://hub.docker.com/r/amazon/dynamodb-local/), but the problem isn’t solved.If I’m correct, Amazon should update the implementation of the local DynamoDb instance.