Skip to content

Commit

Permalink
Get rid of Oam sink
Browse files Browse the repository at this point in the history
doesn't give us what we really want. While logs appear in the Monitoring CloudWatch account they are not handled by the account's CW logs global subscription filter
  • Loading branch information
tmclaugh committed Aug 17, 2024
1 parent 717584b commit 981f360
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 181 deletions.
43 changes: 0 additions & 43 deletions stacksets/cloudwatch-oam-link/stackset.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions stacksets/cloudwatch-oam-link/template.yaml

This file was deleted.

42 changes: 0 additions & 42 deletions stacksets/cloudwatch-oam-sink/stackset.yaml

This file was deleted.

31 changes: 0 additions & 31 deletions stacksets/cloudwatch-oam-sink/template.yaml

This file was deleted.

37 changes: 4 additions & 33 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ Transform: AWS::Serverless-2016-10-31
Description: AWS account observability stack

Parameters:
AwsOrgId:
Type: String
AwsOrgRootId:
Type: String
TargetRegions:
Type: String
Description: List of OUs
AwsOrgId:
Type: String
ObservabilityOu:
Type: String
Description: OU of observability accounts
Expand All @@ -16,10 +18,6 @@ Parameters:
DatadogApiKey:
Type: String
NoEcho: 'true'
AwsOamSinkArn:
Type: String
AwsOrgRootId:
Type: String

Resources:

Expand All @@ -32,30 +30,3 @@ Resources:
TargetRegions: !Ref TargetRegions
DatadogHttpEndpointUrl: !Ref DatadogHttpEndpointUrl
DatadogApiKey: !Ref DatadogApiKey

OamSinkStackSet:
Type: AWS::Serverless::Application
Properties:
Location: "./stacksets/cloudwatch-oam-sink/stackset.yaml"
Parameters:
ObservabilityOu: !Ref ObservabilityOu
TargetRegions: !Ref TargetRegions
AwsOrgId: !Ref AwsOrgId

OamLinkStackSet:
Type: AWS::Serverless::Application
DependsOn: OamSinkStackSet
Properties:
Location: "./stacksets/cloudwatch-oam-link/stackset.yaml"
Parameters:
AwsOrgRootId: !Ref AwsOrgRootId
TargetRegions: !Ref TargetRegions
AwsOamSinkArn: !Ref AwsOamSinkArn

OamLinkManagementStack:
Type: AWS::Serverless::Application
DependsOn: OamSinkStackSet
Properties:
Location: "./stacksets/cloudwatch-oam-link/template.yaml"
Parameters:
AwsOamSinkArn: !Ref AwsOamSinkArn

0 comments on commit 981f360

Please sign in to comment.