Closed hao-public closed 2 years ago
Thanks for the feedback
This should be fixed in AWS.Tools.DynamoDBv2 4.1.18.0.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
When creating a new DynamoDB table with the New-DDBTable cmdlet, you cannot create it with PAY_PER_REQUEST/OnDemand mode, but have to first create the table with provisioned Read and Write capacity and then use Update DDBTable afterwards to change to OnDemand billingmode. Reprovisioning the table to OnDemand mode takes several minutes.
The AWS CLI supports creating DynamoDB tables with OnDemand mode at creation time - the PowerShell cmdlet New-DDBTable should also be able to do this.