You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think a better approach would be to just construct the API request body directly, rather than try to massage the CloudFormation into the API body. We could add warnings for unsupported properties.
The text was updated successfully, but these errors were encountered:
Unfortunately on further investigation I think we are always going to have to do some translation of CloudFormation into AWS DynamoDB API calls given the two really do differ. Closing as not possible for now.
Currently createTable attempts to slightly tweak the CloudFormation resource and then submit this to the CreateTable API:
serverless-dynamodb/index.js
Lines 337 to 396 in d22bc88
However, this often doesn't comply with the API spec when adding extra things to CloudFormation (see #1, #10) and https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html.
I think a better approach would be to just construct the API request body directly, rather than try to massage the CloudFormation into the API body. We could add warnings for unsupported properties.
The text was updated successfully, but these errors were encountered: