Skip to content

Commit 6aff7f3

Browse files
committed
Remove table Tags in order to pass param validation while creating table
1 parent 1115b69 commit 6aff7f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ class ServerlessDynamodbLocal {
251251
migration.SSESpecification.Enabled = migration.SSESpecification.SSEEnabled;
252252
delete migration.SSESpecification.SSEEnabled;
253253
}
254+
if (migration.Tags) {
255+
delete migration.Tags;
256+
}
254257
dynamodb.raw.createTable(migration, (err) => {
255258
if (err) {
256259
if (err.name === 'ResourceInUseException') {

0 commit comments

Comments
 (0)