Skip to content

Conversation

bentsku
Copy link
Contributor

@bentsku bentsku commented Apr 24, 2023

Follow up from #8160 to not raise a TypeError if the wrong parameters are passed to a DynamoDB Table in a cloudformation template.
I am not sure how to add negative testing for CloudFormation, but I tried against AWS with test_default_name_for_table and not specifying a ProvisionedThroughput and it fails.

See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html#cfn-dynamodb-table-provisionedthroughput

@github-actions
Copy link

LocalStack Community integration with Pro

1 944 tests   1 708 ✔️  1h 17m 50s ⏱️
       2 suites     236 💤
       2 files           0

Results for commit c83dc00.

@bentsku bentsku requested a review from pinzon April 25, 2023 15:24
Copy link
Member

@pinzon pinzon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into it!

@bentsku bentsku merged commit 376c356 into master Apr 25, 2023
@bentsku bentsku deleted the fix-cfn-ddb-default branch April 25, 2023 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants