diff --git a/modules/aws/EKS-Cluster/iam_role.tf b/modules/aws/EKS-Cluster/iam_role.tf index e96bc70..2b08e81 100644 --- a/modules/aws/EKS-Cluster/iam_role.tf +++ b/modules/aws/EKS-Cluster/iam_role.tf @@ -434,7 +434,7 @@ resource "aws_iam_role" "cluster_efs_csi_driver_role" { resource "aws_iam_role_policy_attachment" "cluster_efs_csi_driver_role_policy_attach" { count = var.enable_efs_csi_driver ? 1 : 0 - role = aws_iam_role.cluster_ebs_csi_driver_role[0].name + role = aws_iam_role.cluster_efs_csi_driver_role[0].name policy_arn = "arn:aws:iam::aws:policy/service-role/AmazonEFSCSIDriverPolicy" depends_on = [