diff --git a/docs/iam-policy-example.json b/docs/iam-policy-example.json index eba12d84b..be9831946 100644 --- a/docs/iam-policy-example.json +++ b/docs/iam-policy-example.json @@ -1,3 +1,7 @@ +/* Reminder : If we update this file, please also update efs policy in weaveworks/eksctl + +https://github.com/weaveworks/eksctl/blob/main/pkg/cfn/builder/statement.go +*/ { "Version": "2012-10-17", "Statement": [ @@ -13,9 +17,7 @@ }, { "Effect": "Allow", - "Action": [ - "elasticfilesystem:CreateAccessPoint" - ], + "Action": ["elasticfilesystem:CreateAccessPoint"], "Resource": "*", "Condition": { "StringLike": { @@ -25,9 +27,7 @@ }, { "Effect": "Allow", - "Action": [ - "elasticfilesystem:TagResource" - ], + "Action": ["elasticfilesystem:TagResource"], "Resource": "*", "Condition": { "StringLike": { @@ -46,4 +46,4 @@ } } ] -} \ No newline at end of file +}