I follow exactly same, However it doesn't work.
'''
Serverless: Failure: Error: ResourceNotFoundException: Cannot do operations on a non-existent table
'''
this is why failed.
that part, migration: true, migration: dir: offline/...
is this really works??
Examples what I found are make table's information in serverless.yml using 'resource'
I follow exactly same, However it doesn't work. ''' Serverless: Failure: Error: ResourceNotFoundException: Cannot do operations on a non-existent table ''' this is why failed.
I searched a little,
''' custom: stage: ${opt:stage, self:provider.stage} dynamodb: start: migration: true migration: dir: offline/migrations table_prefix: ${self:custom.stage} writeEnvVars: REMOTE_STAGE: ${self:custom.stage} '''
that part, migration: true, migration: dir: offline/... is this really works?? Examples what I found are make table's information in serverless.yml using 'resource'