We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f8cf45 commit 18e6434Copy full SHA for 18e6434
aws_ebs_csi.tf
@@ -57,7 +57,7 @@ data "aws_iam_policy_document" "ebs_csi" {
57
58
statement {
59
actions = ["ec2:CreateVolume"]
60
- resources = ["*"]
+ resources = ["arn:aws:ec2:*:*:volume/*"]
61
62
condition {
63
test = "StringLike"
@@ -68,7 +68,7 @@ data "aws_iam_policy_document" "ebs_csi" {
68
69
70
71
72
73
74
@@ -77,6 +77,11 @@ data "aws_iam_policy_document" "ebs_csi" {
77
}
78
79
80
+ statement {
81
+ actions = ["ec2:CreateVolume"]
82
+ resources = ["arn:aws:ec2:*:*:snapshot/*"]
83
+ }
84
+
85
86
actions = ["ec2:DeleteVolume"]
87
resources = ["*"]
0 commit comments