Skip to content

Commit 74344ec

Browse files
committed
fix: update EBS CSI IAM policy to align with AWS docs
1 parent eefa70a commit 74344ec

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

modules/iam-role-for-service-accounts-eks/policies.tf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,15 +211,6 @@ data "aws_iam_policy_document" "ebs_csi" {
211211
"arn:${local.partition}:ec2:*:*:volume/*",
212212
"arn:${local.partition}:ec2:*:*:snapshot/*",
213213
]
214-
215-
condition {
216-
test = "StringEquals"
217-
variable = "ec2:CreateAction"
218-
values = [
219-
"CreateVolume",
220-
"CreateSnapshot"
221-
]
222-
}
223214
}
224215

225216
statement {

0 commit comments

Comments
 (0)