Skip to content

Commit

Permalink
Actually fix EventBridge permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Apr 19, 2024
1 parent 24ca121 commit 06893e5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions ci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,6 @@ Resources:
Handler: index.handler
MemorySize: 192
Policies:
- Statement:
- Action: events:PutEvents
Effect: Allow
Resource: !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:event-bus/default
Version: "2012-10-17"
- Statement:
- Action: ssm:PutParameter
Effect: Allow
Expand Down Expand Up @@ -412,9 +407,9 @@ Resources:
MemorySize: 128
Policies:
- Statement:
- Action: sns:Publish
- Action: events:PutEvents
Effect: Allow
Resource: !Ref SlackMessageRelaySnsTopicArn
Resource: !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:event-bus/default
Version: "2012-10-17"
Runtime: nodejs20.x
Tags:
Expand Down

0 comments on commit 06893e5

Please sign in to comment.