add staging env attributes

This commit is contained in:
Steve Nolen 2019-08-16 07:37:58 -04:00
commit 314a3f41a8

View file

@ -7,17 +7,19 @@ plugins:
custom: ${file(./serverless-custom.yml)}
package:
exclude:
- integration/**
- builder/**
- docs/**
exclude:
- integration/**
- builder/**
- docs/**
- node_modules/**
provider:
name: aws
runtime: python3.6
stage: ${opt:stage, self:custom.defaultStage}
deploymentBucket:
name: ${self:custom.deploymentBucket}
stackTags: ${self:custom.stackTags}
stackTags: ${self:custom.${self:provider.stage}.stackTags}
iamRoleStatements:
- Effect: Allow
Action: