Skip to content

Commit 77b97cc

Browse files
committed
Re-enable EBS CSI driver
1 parent d6c9b0b commit 77b97cc

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ resource "aws_iam_role" "materialize_s3" {
123123
})
124124

125125
tags = var.tags
126+
127+
depends_on = [
128+
module.eks
129+
]
126130
}
127131

128132
# Attach S3 bucket policy to the role

modules/eks/main.tf

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ module "eks" {
55
cluster_name = var.cluster_name
66
cluster_version = var.cluster_version
77

8-
# TODO: Uncomment the following to enable the EBS CSI driver
9-
# cluster_addons = {
10-
# aws-ebs-csi-driver = {
11-
# service_account_role_arn = module.irsa-ebs-csi.iam_role_arn
12-
# }
13-
# }
8+
cluster_addons = {
9+
aws-ebs-csi-driver = {
10+
service_account_role_arn = module.irsa-ebs-csi.iam_role_arn
11+
}
12+
}
1413

1514
vpc_id = var.vpc_id
1615
subnet_ids = var.private_subnet_ids

0 commit comments

Comments
 (0)