CloudWatch: Handle permissions error and update docs (#88524)

This commit is contained in:
Isabella Siu authored and GitHub committed 2024-05-31 14:36:38 -04:00
1 parent 73905695e3
commit be2e420e6b
5 files changed
+58 -1

No files matched your search

@@ -123,6 +123,12 @@ You can attach these permissions to the IAM role or IAM user you configured in [
"Effect": "Allow",
"Action": "tag:GetResources",
"Resource": "*"
},
{
"Sid": "AllowReadingResourceMetricsFromPerformanceInsights",
"Effect": "Allow",
"Action": "pi:GetResourceMetrics",
"Resource": "*"
}
]
}
@@ -182,6 +188,12 @@ You can attach these permissions to the IAM role or IAM user you configured in [
],
"Resource": "*"
},
{
"Sid": "AllowReadingResourceMetricsFromPerformanceInsights",
"Effect": "Allow",
"Action": "pi:GetResourceMetrics",
"Resource": "*"
},
{
"Sid": "AllowReadingLogsFromCloudWatch",
"Effect": "Allow",