dynamic-dynamodb icon indicating copy to clipboard operation
dynamic-dynamodb copied to clipboard

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

Open hungwunfai opened this issue 9 years ago • 2 comments

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.

hungwunfai avatar Jun 09 '16 17:06 hungwunfai

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

dabest1 avatar Jun 16 '16 22:06 dabest1

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

hungwunfai avatar Sep 05 '16 11:09 hungwunfai