From 955144d9781176256de388acc05de4becb4ee746 Mon Sep 17 00:00:00 2001 From: Chris Kalafarski Date: Sun, 21 Apr 2024 23:18:08 -0400 Subject: [PATCH] Combine CloudFormation status rules --- event-rules/org-sink-rules/template.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/event-rules/org-sink-rules/template.yml b/event-rules/org-sink-rules/template.yml index 4143564b5..f46c5cdc6 100644 --- a/event-rules/org-sink-rules/template.yml +++ b/event-rules/org-sink-rules/template.yml @@ -22,18 +22,6 @@ 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: @@ -41,7 +29,7 @@ Resources: 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: