From acaa79bf5e00f76401793d190f585b1161f96db1 Mon Sep 17 00:00:00 2001 From: Ben Larabie Date: Wed, 4 Sep 2024 15:21:23 -0400 Subject: [PATCH] debug --- aws/dev_only_kubernetes_fix/iamfix.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/dev_only_kubernetes_fix/iamfix.tf b/aws/dev_only_kubernetes_fix/iamfix.tf index e4b2e6e41..4949564bc 100644 --- a/aws/dev_only_kubernetes_fix/iamfix.tf +++ b/aws/dev_only_kubernetes_fix/iamfix.tf @@ -18,7 +18,7 @@ module "eks" { groups = ["system:nodes", "system:bootstrappers"] }, { - rolearn = "arn:aws:iam::${var.account_id}:role/${split("/", data.aws_caller_identity.current.arn)[1]}" + rolearn = "arn:aws:iam::${var.account_id}:role/AWSReservedSSO_AWSAdministratorAccess_e6e62a284c3c35fc" username = "AWSAdministratorAccess:{{SessionName}}" groups = ["system:masters"] },