Skip to content

Commit 3d5e64a

Browse files
Update cloudwatch IAM policies to include retention (#457)
* Update IAM policy for cloudwatch * Update retention policy permissions in IAM roles
1 parent aad998c commit 3d5e64a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/docs/getting-started/container-insights/ecs-prometheus.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ Policy document merged from <Link to="/docs/setup/ecs/create-iam-policy">ECS set
292292
"logs:CreateLogStream",
293293
"logs:DescribeLogStreams",
294294
"logs:DescribeLogGroups",
295+
"logs:PutRetentionPolicy",
295296
"xray:PutTraceSegments",
296297
"xray:PutTelemetryRecords",
297298
"xray:GetSamplingRules",

src/docs/getting-started/prometheus-remote-write-exporter/ecs.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Please follow the steps outlined in this guide: [Creating an IAM policy](https:/
5858
"logs:CreateLogStream",
5959
"logs:DescribeLogStreams",
6060
"logs:DescribeLogGroups",
61+
"logs:PutRetentionPolicy",
6162
"ssm:GetParameters"
6263
],
6364
"Resource": "*"

src/docs/setup/ecs/create-iam-policy.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Click the `JSON` tab on top of the page. Copy and paste the following policy tex
4848
"logs:CreateLogStream",
4949
"logs:DescribeLogStreams",
5050
"logs:DescribeLogGroups",
51+
"logs:PutRetentionPolicy",
5152
"xray:PutTraceSegments",
5253
"xray:PutTelemetryRecords",
5354
"xray:GetSamplingRules",

src/docs/setup/permissions.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ AWS X-Ray for sending traces.
3030
"logs:CreateLogStream",
3131
"logs:DescribeLogStreams",
3232
"logs:DescribeLogGroups",
33+
"logs:PutRetentionPolicy",
3334
"xray:PutTraceSegments",
3435
"xray:PutTelemetryRecords",
3536
"xray:GetSamplingRules",

0 commit comments

Comments
 (0)