🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@nasa-gcn/architect-plugin-dynamodb-local

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nasa-gcn/architect-plugin-dynamodb-local

Architect plugin for a local DynamoDB instance

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
2
Created
Source

Architect plugin for Local DynamoDB Docker

This is a plugin for a local DynamoDB instance using Docker.

When you are using Architect's sandbox mode, the plugin starts a Docker container running the amazon/dynamodb-local image.

If you have defined a @tables-streams section in your app.arc file, the respective streams will be enabled and their configured lambdas automatically triggered.

Prerequisites

  • Docker installed and running on your system.
  • Node.js (if this project is built as a Node.js tool).

Usage

  • Install this package using npm:

    npm install -D @nasa-gcn/architect-plugin-dynamodb-local
    
  • In your .env add the following:

    ARC_TABLES_PORT=8000
    ARC_DB_EXTERNAL=true
    
  • Add the following to your project's app.arc configuration file:

    @plugins
    nasa-gcn/architect-plugin-dynamodb-local
    
  • Seeding the database (optional):

    @dynamodb-local
    seedFile your-seed-file.json
    

If you want to utilize the @tables-streams, include a json formatted seedFile. The database will be seeded automatically during initialization. This will happen BEFORE Architect's built-in seeding step. By default, Architect will look for a file named sandbox-seed.json or sandbox-seed.js to seed the database. If you use this feature name the file differently, otherwise this plugin will skip the file seeding. To easily switch from using the built-in seed function, you can simply rename your existing sandbox-seed.[js|json] file and pass that as an argument to the plugin.

Seed File Format

The seedFile should be a JSON file where the keys are the table names and the values are the list of items to be added. Example:

{
  "table1": [
    {
      "someProperty":"some value",
      ...
    },
    {
      ...
    }
  ],
  "table2": [
    ...
  ]
}

FAQs

Package last updated on 02 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts