File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ resources:
97
97
WriteCapacityUnits: 1
98
98
` ` `
99
99
100
+ **Note:**
101
+ DynamoDB local doesn't support TTL specification, therefore plugin will simply ignore ttl configuration from Cloudformation template.
102
+
100
103
# # Seeding: sls dynamodb seed
101
104
# ## Configuration
102
105
Original file line number Diff line number Diff line change @@ -241,6 +241,9 @@ class ServerlessDynamodbLocal {
241
241
if ( migration . StreamSpecification && migration . StreamSpecification . StreamViewType ) {
242
242
migration . StreamSpecification . StreamEnabled = true ;
243
243
}
244
+ if ( migration . TimeToLiveSpecification ) {
245
+ delete migration . TimeToLiveSpecification ;
246
+ }
244
247
dynamodb . raw . createTable ( migration , ( err ) => {
245
248
if ( err ) {
246
249
this . serverlessLog ( "DynamoDB - Error - " , err ) ;
You can’t perform that action at this time.
0 commit comments