-
Notifications
You must be signed in to change notification settings - Fork 1
/
iam_policies.tf
36 lines (35 loc) · 870 Bytes
/
iam_policies.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
resource "aws_iam_policy" "this" {
name = "overmind"
path = "/"
description = "Allow Overmind read-only access to resource status"
policy = jsonencode({
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"autoscaling:Describe*",
"cloudwatch:Describe*",
"dynamodb:Describe*",
"dynamodb:List*",
"ec2:Describe*",
"ecs:Describe*",
"ecs:List*",
"eks:Describe*",
"eks:List*",
"elasticloadbalancing:Describe*",
"iam:Get*",
"iam:List*",
"lambda:Get*",
"lambda:List*",
"rds:Describe*",
"route53:Get*",
"route53:List*",
"s3:GetBucket*",
"s3:ListAllMyBuckets"
],
"Resource": "*"
}
]
})
}