Skip to content

Instantly share code, notes, and snippets.

@anthonygrees
Last active May 24, 2023 00:42
Show Gist options
  • Save anthonygrees/605fe1d61fbf44c4bafcadcccd0c15d6 to your computer and use it in GitHub Desktop.
Save anthonygrees/605fe1d61fbf44c4bafcadcccd0c15d6 to your computer and use it in GitHub Desktop.
AWS Inventory - A policy to define the LW inventory script permissions required
## You can use `arn:aws:iam::aws:policy/ReadOnlyAccess `
##
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"elasticloadbalancing:DescribeLoadBalancers",
"ec2:DescribeInstances",
"lambda:ListFunctions",
"ecs:ListTasks",
"ec2:DescribeRegions",
"rds:DescribeDBInstances",
"redshift:DescribeClusters",
"ec2:DescribeNatGateways",
"sts:GetCallerIdentity",
"ecs:DescribeTasks",
"ecs:ListClusters"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment