Skip to content

Commit

Permalink
Merge pull request #19206 from code-dot-org/health-event-permission
Browse files Browse the repository at this point in the history
add HealthEventPermission to CloudFormation stack
  • Loading branch information
wjordan committed Nov 16, 2017
2 parents 738f886 + 7404dd2 commit e386b31
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aws/cloudformation/cloud_formation_stack.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,13 @@ Resources:
Targets:
- Arn: !ImportValue SlackEvent
Id: HealthEventRuleTarget
HealthEventPermission:
Type: AWS::Lambda::Permission
Properties:
FunctionName: !ImportValue SlackEvent
Action: 'lambda:InvokeFunction'
Principal: events.amazonaws.com
SourceArn: !GetAtt HealthEventRule.Arn
ClassroomScaleUp:
Type: AWS::AutoScaling::ScheduledAction
Properties:
Expand Down

0 comments on commit e386b31

Please sign in to comment.