1.4.0 • Published 4 years ago

dm-driver-lambda v1.4.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Welcome to dm-driver-lambda 👋

Build Status NPM Package Maintainability Documentation Downloads/week lerna

A Data Migration driver to update lambda properties like environment variables.

Configuration

Parameters

The Lambda driver accepts the following parameters as part of its configuration:

NameTypeRequiredDescription
regionstringYesThe AWS Region where this table exists
FunctionNamestringYesThe name (or ARN) of the function to modify
profilestringNoName of the AWS profile to use
accessKeyIdstringNoAWS Credentials, if not provided data-migration will use the default AWS configuration
secretAccessKeystringNo
endpointstringNoThe http endpoint to connect to, useful when using something like localstack

Sample Configuration

export default {
  defaultStage: "prod",
  migrationDirectory: "migrations",
  stages: {
    prod: {
      users: {
        driver: require("dm-driver-lambda"),
        params: {
          region: "us-east-1",
          FunctionName: {
            // Use this processor to get values from CloudFormation
            processor: require("dm-processor-cf"),
            params: {
              stack: "some-stack-name",
              output: "SomeOutputName",
              region: "us-east-1",
            },
          },
        },
      },
    },
  },
} as Configuration;
1.4.0

4 years ago

1.3.13

4 years ago

1.3.14

4 years ago

1.3.12

4 years ago

1.3.11

4 years ago

1.3.10

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago