serverless-dynamodb
Advanced tools
Comparing version 0.2.54 to 0.2.55
@@ -15,2 +15,3 @@ export interface SeedConfig { | ||
seed?: boolean | string; | ||
region?: string; | ||
}; | ||
@@ -17,0 +18,0 @@ stages?: string[]; |
@@ -218,3 +218,3 @@ "use strict"; | ||
endpoint: `http://${this.host}:${this.port}`, | ||
region: 'localhost', | ||
region: this.config?.start?.region ?? 'localhost', | ||
credentials: { | ||
@@ -221,0 +221,0 @@ accessKeyId: 'MockAccessKeyId', |
{ | ||
"name": "serverless-dynamodb", | ||
"version": "0.2.54", | ||
"version": "0.2.55", | ||
"description": "Serverless plugin to run DynamoDB local", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -230,2 +230,19 @@ # serverless-dynamodb | ||
Localstack setup: | ||
```yaml | ||
custom: | ||
serverless-dynamodb: | ||
# If you only want to use DynamoDB Local in some stages, declare them here | ||
stages: | ||
- dev | ||
start: | ||
# The port that your localstack is running on | ||
port: 4566 | ||
migrate: true | ||
seed: true | ||
noStart: true | ||
# Beware, region is important for localstack | ||
region: 'eu-west-1' | ||
``` | ||
### Migrations: serverless dynamodb migrate | ||
@@ -232,0 +249,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47603
625
398