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

UnexpectedParameter errors when using StreamSpecification #29

Closed
rkaytazov opened this issue Dec 8, 2023 · 2 comments
Closed

UnexpectedParameter errors when using StreamSpecification #29

rkaytazov opened this issue Dec 8, 2023 · 2 comments
Labels
needs more info Further information is requested

Comments

@rkaytazov
Copy link

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.
Screenshot 2023-12-08 at 7 34 43

This issue is similar to #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?
Screenshot 2023-12-08 at 7 43 13

Line 341 in index.js

Thank you!

@domdomegg
Copy link
Member

I've looked into this and I can't reproduce this issue. It looks like DynamoDB's table create command does support StreamSpecification:

https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html#DDB-CreateTable-request-StreamSpecification

Are you using other keys within StreamSpecification?

@domdomegg domdomegg added the needs more info Further information is requested label Dec 17, 2023
@domdomegg
Copy link
Member

Closing as stale

@domdomegg domdomegg closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants