Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wodCZ/fdd1ac5218053066b0a7255e08a53b9d to your computer and use it in GitHub Desktop.
Save wodCZ/fdd1ac5218053066b0a7255e08a53b9d to your computer and use it in GitHub Desktop.
AWS IAM policy for metricbeat aws module metricsets
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:DescribeRegions",
"cloudwatch:GetMetricData",
"cloudwatch:ListMetrics",
"tag:getResources",
"sts:GetCallerIdentity",
"iam:ListAccountAliases",
"ec2:DescribeInstances",
"rds:DescribeDBInstances",
"sqs:ListQueues"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment