in lib/aws/session_store/dynamo_db/table.rb [10:22]
def create_table(options = {})
config = load_config(options)
ddb_options = properties(config.table_name, config.table_key).merge(
throughput(config.read_capacity, config.write_capacity)
)
config.dynamo_db_client.create_table(ddb_options)
logger << "Table #{config.table_name} created, waiting for activation...\n"
block_until_created(config)
logger << "Table #{config.table_name} is now ready to use.\n"
rescue Aws::DynamoDB::Errors::ResourceInUseException
logger << "Table #{config.table_name} already exists, skipping creation.\n"
end