Skip to content

Instantly share code, notes, and snippets.

@kenjinp
Created August 24, 2017 14:03
Show Gist options
  • Save kenjinp/fcc3699385f415e9a5a1fdee55a77582 to your computer and use it in GitHub Desktop.
Save kenjinp/fcc3699385f415e9a5a1fdee55a77582 to your computer and use it in GitHub Desktop.
serverless.yml with seed example
service: sg-platform-module-manager
custom:
serviceSlug: module-manager
dynamodb:
start:
seed: true
seed:
domain:
sources:
-
table: ${self:service}-${opt:stage, self:provider.stage}-configs
sources: [./configs-seed.json]
-
table: ${self:service}-${opt:stage, self:provider.stage}-scopes
sources: [./scopes-seed.json]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment