diff --git a/modules/app_eks/iam-role-attachments.tf b/modules/app_eks/iam-role-attachments.tf index 5f0b9ace..92f0ff09 100644 --- a/modules/app_eks/iam-role-attachments.tf +++ b/modules/app_eks/iam-role-attachments.tf @@ -56,6 +56,6 @@ resource "aws_iam_role_policy_attachment" "node_secrets_manager" { # Attach IRSA Policy to the IRSA Role resource "aws_iam_policy_attachment" "irsa" { name = "irsa-policy-attachment" - roles = [aws_iam_role.irsa_role.name] - policy_arn = aws_iam_policy.irsa_policy.arn + roles = [aws_iam_role.irsa.name] + policy_arn = aws_iam_policy.irsa.arn }