stacks: [secure-contact]
regions: [eu-west-1]

templates:
  lambda:
    app: secure-contact
    type: aws-lambda
    contentDirectory: lambda
    parameters:
      bucket: infosec-dist
      functionNames: [secure-contact-]
      fileName: secure-contact-lambda.zip
      prefixStack: false

deployments:
  lambdaUpload:
    template: lambda
    actions:
    - uploadLambda

  lambdaUpdate:
    template: lambda
    actions:
    - updateLambda