Skip to content

Commit

Permalink
fix breakage...
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Oct 23, 2024
1 parent 36224fd commit a05e77b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions stacksets-shipping-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ Resources:

LogShippingStackSet:
Type: AWS::Serverless::Application
DependsOn:
- DatadogShippingStackSet
Properties:
Location: "./stacksets/logging/stackset.yaml"
Parameters:
Expand Down
14 changes: 7 additions & 7 deletions stacksets/logging/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Resources:
Service: !Sub "logs.${AWS::Region}.amazonaws.com"
Action: sts:AssumeRole

CloudWatchAccountPolicy:
Type: AWS::Logs::AccountPolicy
Condition: IsNotLoggingAccount
Properties:
PolicyName: Datadog-Logs-Firehose
PolicyDocument: !Sub '{ "RoleArn": "${CloudWatchLogsRole.Arn}", "DestinationArn": "${DestinationArn}", "FilterPattern": ""}'
PolicyType: "SUBSCRIPTION_FILTER_POLICY"
#CloudWatchAccountPolicy:
# Type: AWS::Logs::AccountPolicy
# Condition: IsNotLoggingAccount
# Properties:
# PolicyName: Datadog-Logs-Firehose
# PolicyDocument: !Sub '{ "RoleArn": "${CloudWatchLogsRole.Arn}", "DestinationArn": "${DestinationArn}", "FilterPattern": ""}'
# PolicyType: "SUBSCRIPTION_FILTER_POLICY"

0 comments on commit a05e77b

Please sign in to comment.