add staging env attributes

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

View file

@ -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: '{}'