Skip to content

Commit

Permalink
Merge pull request #1553 from alphagov/samsimpson1/ebs-iam-update
Browse files Browse the repository at this point in the history
Allow EBS CSI driver role to perform ec2:CreateVolume on snapshots
  • Loading branch information
samsimpson1 authored Dec 18, 2024
2 parents 1e7a246 + c40328a commit 8334b71
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 8334b71

Please sign in to comment.