Skip to content

Commit

Permalink
think we need a DependsOn here
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Sep 1, 2024
1 parent f620efa commit 4300d1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stacksets/datadog-shipping/logs-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ Resources:

CloudWatchAccountPolicy:
Type: AWS::Logs::AccountPolicy
DependsOn: CloudWatchLogsPolicy
Properties:
PolicyName: Datadog-Logs-Firehose
PolicyDocument: !Sub '{ "RoleArn": "${CloudWatchLogsRole.Arn}", "DestinationArn": "${DatadogDeliveryStream.Arn}", "FilterPattern": ""}'
Expand All @@ -169,6 +170,7 @@ Resources:

DatadogLogsDestination:
Type: AWS::Logs::Destination
DependsOn: CloudWatchLogsPolicy
Properties:
DestinationName: DATADOG-LOGS-FIREHOSE
DestinationPolicy: !Sub '{
Expand Down

0 comments on commit 4300d1a

Please sign in to comment.