Skip to content

Commit

Permalink
Combine CloudFormation status rules
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Apr 22, 2024
1 parent b191ebb commit 955144d
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions event-rules/org-sink-rules/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,14 @@ Resources:
detail-type:
- CloudFormation Resource Status Change
- CloudFormation Stack Status Change
source:
- aws.cloudformation
State: ENABLED
Targets:
- Arn: arn:aws:events:us-east-2:578003269847:event-bus/CloudFormation-org-sink
Id: org-sink-cfn-state-change
RoleArn: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/PRX-CloudFormationOrgSinkRole
CloudFormationStackSetStateChangeRule:
Type: AWS::Events::Rule
Properties:
EventPattern:
detail-type:
- CloudFormation StackSet Status Change
- CloudFormation StackSet Operation Status Change
source:
- aws.cloudformation
State: ENABLED
Targets:
- Arn: arn:aws:events:us-east-2:578003269847:event-bus/CloudFormation-org-sink
Id: org-sink-cfn-stackset-change
Id: org-sink-cfn-state-change
RoleArn: !Sub arn:${AWS::Partition}:iam::${AWS::AccountId}:role/PRX-CloudFormationOrgSinkRole

CloudTrailRootActivityRule:
Expand Down

0 comments on commit 955144d

Please sign in to comment.