add staging env attributes
This commit is contained in:
parent
7aa0fbd928
commit
314a3f41a8
2 changed files with 9 additions and 6 deletions
|
|
@ -87,7 +87,7 @@ rBuildsBatchComputeEnvironment:
|
|||
SecurityGroupIds: ${self:custom.securityGroupIds}
|
||||
Subnets: ${self:custom.subnets}
|
||||
Type: SPOT
|
||||
BidPercentage: 40
|
||||
BidPercentage: 60
|
||||
InstanceRole:
|
||||
"Fn::GetAtt": [ rBuildsIamInstanceProfile, Arn ]
|
||||
InstanceTypes:
|
||||
|
|
@ -231,6 +231,7 @@ rBuildsEventRule:
|
|||
Properties:
|
||||
Description: Check for New R Versions
|
||||
ScheduleExpression: rate(1 hour)
|
||||
State: ${self:custom.${self:provider.stage}.eventRuleState}
|
||||
Targets:
|
||||
- Id: rbuilds
|
||||
Input: '{}'
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue