Skip to content

Commit

Permalink
docs: update README iam policies
Browse files Browse the repository at this point in the history
  • Loading branch information
assafgi committed Aug 29, 2024
1 parent a33b2ad commit ca28ac6
Showing 1 changed file with 30 additions and 7 deletions.
37 changes: 30 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ AWS terraform weka deployment module.
"ec2:DeleteNetworkInterface",
"ec2:ModifyInstanceAttribute",
"ec2:TerminateInstances",
"ec2:DescribeInstances"
"ec2:DescribeInstances",
"ec2:CreateTags"
],
"Effect": "Allow",
"Resource": [
Expand All @@ -139,7 +140,8 @@ AWS terraform weka deployment module.
},
{
"Action": [
"secretsmanager:GetSecretValue"
"secretsmanager:GetSecretValue",
"secretsmanager:PutSecretValue"
],
"Effect": "Allow",
"Resource": [
Expand All @@ -156,6 +158,15 @@ AWS terraform weka deployment module.
"Resource": [
"*"
]
},
{
"Action": [
"lambda:InvokeFunction"
],
"Effect": "Allow",
"Resource": [
"arn:aws:lambda:*:*:function:prefix-cluster_name-*-lambda"
]
}
],
"Version": "2012-10-17"
Expand Down Expand Up @@ -375,7 +386,8 @@ tiering_ssd_percent = VALUE
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeInstances"
"ec2:DescribeInstances",
"ec2:DescribeInstanceTypes"
],
"Effect": "Allow",
"Resource": "*"
Expand Down Expand Up @@ -459,8 +471,10 @@ nfs_setup_protocol = true
"ec2:CreateNetworkInterface",
"ec2:ModifyNetworkInterfaceAttribute",
"ec2:DeleteNetworkInterface",
"ec2:DescribeInstances"
]
"ec2:DescribeInstances",
"ec2:DescribeTags",
"ec2:AssignPrivateIpAddresses"
],
"Resource": "*",
},
{
Expand All @@ -483,7 +497,7 @@ nfs_setup_protocol = true
"logs:PutLogEvents",
"logs:DescribeLogStreams",
"logs:PutRetentionPolicy"
]
],
"Resource":
[
"arn:aws:logs:*:*:log-group:/wekaio/clients/gateways_name*"
Expand All @@ -499,7 +513,16 @@ nfs_setup_protocol = true
[
"*"
]
}
},
{
"Action": [
"lambda:InvokeFunction"
],
"Effect": "Allow",
"Resource": [
"arn:aws:lambda:*:*:function:prefix-cluster_name*"
]
},
]
}

Expand Down

0 comments on commit ca28ac6

Please sign in to comment.