dynamic-dynamodb
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?
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.
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
Reversing the order has no effect. In fact the parser code does not care about the order.