1.4.0 • Published 4 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
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