Skip to content

Commit

Permalink
Allow EBS CSI driver role to perform ec2:CreateVolume on snapshots
Browse files Browse the repository at this point in the history
This is required because AWS is going to start checking permissions on snapshots when creating a volume from one

kubernetes-sigs/aws-ebs-csi-driver#2190
  • Loading branch information
samsimpson1 committed Dec 18, 2024
1 parent 1e7a246 commit c40328a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions terraform/deployments/cluster-infrastructure/aws_ebs_csi_iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ data "aws_iam_policy_document" "aws_ebs_csi_driver" {
}
}

statement {
effect = "Allow"

actions = [
"ec2:CreateVolume"
]

resources = [
"arn:*:ec2:*:*:snapshot/*"
]
}

statement {
effect = "Allow"

Expand Down

0 comments on commit c40328a

Please sign in to comment.