From 21fce9bec26ed4561edd7cfda19b44d6c4834ce0 Mon Sep 17 00:00:00 2001 From: gar Date: Tue, 21 Sep 2021 13:31:56 -0700 Subject: [PATCH] Adding role path --- terraform-modules/aws/helm/kubernetes-external-secrets/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf b/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf index 8512482e2..2e810ca6e 100644 --- a/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf +++ b/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf @@ -12,7 +12,7 @@ module "iam_assumable_role_admin" { version = "3.6.0" create_role = true role_name = "${local.base_name}-${var.environment_name}" - role_path = "token-file-web-identity" + role_path = "/token-file-web-identity" provider_url = replace(var.eks_cluster_oidc_issuer_url, "https://", "") role_policy_arns = [aws_iam_policy.cluster_autoscaler.arn] oidc_fully_qualified_subjects = ["system:serviceaccount:${var.namespace}:${local.k8s_service_account_name}"]