forked from phillhocking/aws-iam-tftemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpolicy.json.tpl
47 lines (47 loc) · 1.2 KB
/
policy.json.tpl
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
37
38
39
40
41
42
43
44
45
46
47
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:Create*",
"ec2:Run*",
"ec2:Stop*",
"ec2:Start*",
"ec2:Delete*",
"ec2:Terminate*",
"ec2:Describe*",
"ec2:Request*",
"ec2:Associate*",
"ec2:Disassociate*",
"ec2:Authorize*",
"ec2:Revoke*",
"ec2:Replace*",
"ec2:Attach*",
"ec2:Detach*",
"ec2:Modify*",
"ec2:Monitor*",
"ec2:Enable*",
"ec2:Disable*",
"ec2:Allocate*",
"ec2:Release*",
"ec2:Assign*",
"ec2:Unassign*",
"route53:Create*",
"dynamodb:*",
"lightsail:*",
"route53:*",
"cloudfront:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": "arn:aws:s3:::$${var.bucket_name}"
}
]
}