Skip to content

Commit 8f02b31

Browse files
committed
Add policy condition for CW logging
1 parent 9cf7b10 commit 8f02b31

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

data-collection/deploy/deploy-data-collection.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,10 @@ Resources:
905905
Action:
906906
- cloudwatch:PutMetricData
907907
Resource: '*'
908+
Condition:
909+
StringEquals:
910+
cloudwatch:namespace: CID-DataCollection
911+
908912
- PolicyName: "CloudFormationStackVersionRead" #Used for reading the deployed version number of the stack
909913
PolicyDocument:
910914
Version: "2012-10-17"

0 commit comments

Comments
 (0)