spec/aws-record/record/table_config_spec.rb [312:349]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              table_name: 'TestModelWithGsi',
              attribute_definitions: [
                {
                  attribute_name: 'gsi_pk',
                  attribute_type: 'S'
                },
                {
                  attribute_name: 'gsi_sk',
                  attribute_type: 'S'
                }
              ],
              global_secondary_index_updates: [
                {
                  create: {
                    index_name: 'gsi',
                    key_schema: [
                      {
                        key_type: 'HASH',
                        attribute_name: 'gsi_pk'
                      },
                      {
                        key_type: 'RANGE',
                        attribute_name: 'gsi_sk'
                      }
                    ],
                    projection: {
                      projection_type: 'INCLUDE',
                      non_key_attributes: %w[c b a]
                    },
                    provisioned_throughput: {
                      read_capacity_units: 1,
                      write_capacity_units: 1
                    }
                  }
                }
              ]
            )
          end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/aws-record/record/table_config_spec.rb [407:444]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              table_name: 'TestModelWithGsi',
              attribute_definitions: [
                {
                  attribute_name: 'gsi_pk',
                  attribute_type: 'S'
                },
                {
                  attribute_name: 'gsi_sk',
                  attribute_type: 'S'
                }
              ],
              global_secondary_index_updates: [
                {
                  create: {
                    index_name: 'gsi',
                    key_schema: [
                      {
                        key_type: 'HASH',
                        attribute_name: 'gsi_pk'
                      },
                      {
                        key_type: 'RANGE',
                        attribute_name: 'gsi_sk'
                      }
                    ],
                    projection: {
                      projection_type: 'INCLUDE',
                      non_key_attributes: %w[c b a]
                    },
                    provisioned_throughput: {
                      read_capacity_units: 1,
                      write_capacity_units: 1
                    }
                  }
                }
              ]
            )
          end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



