Skip to content

Commit

Permalink
Move to generated folder, test with condition removed for CFCloudwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
roohisyeda committed Dec 11, 2023
1 parent 1df6e6e commit 92cebcc
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 704 deletions.
2 changes: 1 addition & 1 deletion aws-iam-policies/docs/restricted-policy-doc-1.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Statement": [
{
"Sid": "ResourceTag",
// Control access to AWS serviceresources based on
// Control access to AWS service resources based on
// resource tags using ResourceTag/key-name
// condition key to allow access to resource or not
// based on resource tagging
Expand Down
7 changes: 1 addition & 6 deletions aws-iam-policies/docs/restricted-policy-doc-2.json5
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@
// Upload log events to log stream
"logs:PutRetentionPolicy"
// Change number of days Cloudwatch retains
],
"Condition": {
"ForAnyValue:StringEquals": {
"aws:CalledVia": "cloudformation.amazonaws.com"
}
}
]
},
{
"Sid": "CFKeys",
Expand Down
4 changes: 2 additions & 2 deletions aws-iam-policies/managedArn-node-inline-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"Sid": "clusterautoscaler",
"Effect": "Allow",
"Action": [
"autoscaling:DescribeAutoScalingGroups", //comment 1
"autoscaling:DescribeAutoScalingInstances", //comment 2
"autoscaling:DescribeAutoScalingGroups",
"autoscaling:DescribeAutoScalingInstances",
"autoscaling:DescribeTags",
"autoscaling:DescribeLaunchConfigurations",
"autoscaling:SetDesiredCapacity",
Expand Down
164 changes: 0 additions & 164 deletions aws-iam-policies/restricted-policy-1.json5

This file was deleted.

182 changes: 0 additions & 182 deletions aws-iam-policies/restricted-policy-2.json5

This file was deleted.

0 comments on commit 92cebcc

Please sign in to comment.