service: service

configValidationMode: error
frameworkVersion: '*'

provider:
  name: aws
  runtime: nodejs12.x
  lambdaHashingVersion: 20201221

functions:
  target:
    handler: target.handler
  trigger:
    handler: trigger.handler
    destinations:
      onSuccess: target
