Skip to content

Commit

Permalink
Am i missing a policy on the shipper account roles?
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Oct 23, 2024
1 parent 3c5eabd commit e344e53
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions stacksets/logging/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Resources:
Principal:
Service: !Sub "logs.${AWS::Region}.amazonaws.com"
Action: sts:AssumeRole
Policies:
- PolicyName: !Sub "${AWS::StackName}-datadog-cloudwatch-logs-policy"
PolicyDocument:
Version: '2012-10-17'
Statement:
- Effect: Allow
Action:
- firehose:PutRecord
- firehose:PutRecordBatch
- kinesis:PutRecord
Resource: !Ref DestinationArn

CloudWatchAccountPolicy:
Type: AWS::Logs::AccountPolicy
Expand Down

0 comments on commit e344e53

Please sign in to comment.