Skip to content

Commit

Permalink
trigger policy recreate to undo possible changes I made manually and …
Browse files Browse the repository at this point in the history
…missed resetting
  • Loading branch information
tmclaugh committed Oct 24, 2024
1 parent e344e53 commit 7d87dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions stacksets/datadog-shipping/logs-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@ Resources:
CloudWatchLogsPolicy:
Type: AWS::IAM::Policy
Properties:
PolicyName: !Sub "${AWS::StackName}-datadog-cloudwatch-logs-policy"
PolicyName: datadog-cloudwatch-logs-policy
PolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: Allow
Action:
- firehose:PutRecord
- firehose:PutRecordBatch
- kinesis:PutRecord
Resource: !GetAtt DatadogDeliveryStream.Arn
- Effect: Allow
Action:
Expand All @@ -95,7 +94,7 @@ Resources:
FirehoseLogsPolicy:
Type: AWS::IAM::Policy
Properties:
PolicyName: !Sub "${AWS::StackName}-datadog-firehose-delivery-policy"
PolicyName: datadog-firehose-delivery-policy
PolicyDocument:
Version: '2012-10-17'
Statement:
Expand Down
2 changes: 1 addition & 1 deletion stacksets/logging/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Resources:
Properties:
PolicyName: Datadog-Logs-Firehose
PolicyDocument: !Sub '{ "RoleArn": "${CloudWatchLogsRole.Arn}", "DestinationArn": "${DestinationArn}", "FilterPattern": ""}'
PolicyType: "SUBSCRIPTION_FILTER_POLICY"
PolicyType: "SUBSCRIPTION_FILTER_POLICY"

0 comments on commit 7d87dd2

Please sign in to comment.