Closed rkaytazov closed 9 months ago
An unexpected parameter error is thrown when using StreamSpecification for DynamoDB in an SLS template. Also FN::IF is unrecognized. Deleting the StreamSpecification key-value pair from the object resolves the issue and DDB launches successfully.
This issue is similar to https://github.com/raisenational/serverless-dynamodb/issues/9
The fix here can be applied in the same way for StreamSpecification which worked locally for me https://github.com/raisenational/serverless-dynamodb/pull/10/files
Would it be possible to have this added as well?
Line 341 in index.js
Thank you!
I've looked into this and I can't reproduce this issue. It looks like DynamoDB's table create command does support StreamSpecification:
StreamSpecification
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html#DDB-CreateTable-request-StreamSpecification
Are you using other keys within StreamSpecification?
Closing as stale
An unexpected parameter error is thrown when using StreamSpecification for DynamoDB in an SLS template. Also FN::IF is unrecognized. Deleting the StreamSpecification key-value pair from the object resolves the issue and DDB launches successfully.
This issue is similar to https://github.com/raisenational/serverless-dynamodb/issues/9
The fix here can be applied in the same way for StreamSpecification which worked locally for me https://github.com/raisenational/serverless-dynamodb/pull/10/files
Would it be possible to have this added as well?
Line 341 in index.js
Thank you!