/nosql_workbench_json_reader

Converts NoSQL Workbench's JSON format into something the AWS SDK can use.

Primary LanguageRubyCreative Commons Zero v1.0 UniversalCC0-1.0

This is a piece of something that I made for @oshiete back in 2021.

License: CC0 (see LICENSE for more details)

This takes the JSON output from Amazon's NoSQL Workbench and creates tables using the AWS SDK for Ruby.

Don't forget to set your AWS SDK config (I have provided a basic JSON that points to a local DynamoDB instance):

# Set up AWS environment using the details from config.json
  config = JSON.parse(File.read('./config.json'))
  Aws.config.update(
    endpoint: config['endpoint'],
    region: config['region']
  )