From a67416f076938461a302bf2a4692304cd15c300e Mon Sep 17 00:00:00 2001 From: Edgar Costa Date: Thu, 3 Oct 2024 12:23:47 -0300 Subject: [PATCH] fix: Correct IRSA service account annotation (#78) --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index cac2775..c8c1c0a 100644 --- a/main.tf +++ b/main.tf @@ -2864,7 +2864,7 @@ module "kms" { # IAM role for service account (IRSA) - set_irsa_names = ["serviceAccount.annotations.kms\\.amazonaws\\.com/role-arn"] + set_irsa_names = ["serviceAccount.annotations.eks\\.amazonaws\\.com/role-arn"] create_role = try(var.kms.create_role, true) role_name = try(var.kms.role_name, "ack-kms") role_name_use_prefix = try(var.kms.role_name_use_prefix, true) @@ -2993,7 +2993,7 @@ module "acm" { # IAM role for service account (IRSA) - set_irsa_names = ["serviceAccount.annotations.acm\\.amazonaws\\.com/role-arn"] + set_irsa_names = ["serviceAccount.annotations.eks\\.amazonaws\\.com/role-arn"] create_role = try(var.acm.create_role, true) role_name = try(var.acm.role_name, "ack-acm") role_name_use_prefix = try(var.acm.role_name_use_prefix, true)