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

How can I override a table's provision configs and also one of the table's GSIs with a different config? #303

Open
hungwunfai opened this issue Jun 9, 2016 · 2 comments

Comments

@hungwunfai
Copy link

hungwunfai commented Jun 9, 2016

If I have config sections:

[table: MyTable]
min-provisioned-reads=500

[table:MyTable gsi:^.*$]
min-provisioned-reads=100

This just would not work, because the table search get_tables_and_gsis would find the first config section and ignore the second section.

This is obviously a careless bug.

@dabest1
Copy link

dabest1 commented Jun 16, 2016

You may want to try reversing the order of table and gsi, so that it matches the documentation (http://dynamic-dynamodb.readthedocs.io/en/latest/configuration_options.html):

[table: MyTable]
min-provisioned-reads=500

[gsi: ^.*$ table: MyTable]
min-provisioned-reads=100

@hungwunfai
Copy link
Author

Reversing the order has no effect. In fact the parser code does not care about the order.

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

No branches or pull requests

2 participants