1.4.0 • Published 5 years ago
dm-driver-lambda v1.4.0
Welcome to dm-driver-lambda 👋
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:
Name | Type | Required | Description |
---|---|---|---|
region | string | Yes | The AWS Region where this table exists |
FunctionName | string | Yes | The name (or ARN) of the function to modify |
profile | string | No | Name of the AWS profile to use |
accessKeyId | string | No | AWS Credentials, if not provided data-migration will use the default AWS configuration |
secretAccessKey | string | No | |
endpoint | string | No | The 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
5 years ago
1.3.13
5 years ago
1.3.14
5 years ago
1.3.12
5 years ago
1.3.11
5 years ago
1.3.10
5 years ago
1.3.9
5 years ago
1.3.8
5 years ago
1.3.7
5 years ago
1.3.6
5 years ago
1.3.5
5 years ago
1.3.4
5 years ago
1.3.3
5 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago