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

This commit is contained in:
Isabella Siu
2024-05-31 14:36:38 -04:00
committed by GitHub
parent 73905695e3
commit be2e420e6b
5 changed files with 58 additions and 1 deletions
@@ -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",