File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,10 @@ resource "aws_iam_role" "materialize_s3" {
123
123
})
124
124
125
125
tags = var. tags
126
+
127
+ depends_on = [
128
+ module . eks
129
+ ]
126
130
}
127
131
128
132
# Attach S3 bucket policy to the role
Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ module "eks" {
5
5
cluster_name = var. cluster_name
6
6
cluster_version = var. cluster_version
7
7
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
+ }
14
13
15
14
vpc_id = var. vpc_id
16
15
subnet_ids = var. private_subnet_ids
You can’t perform that action at this time.
0 commit comments