From 85aa4855d4689ee47db24d77081d233f5ef62b5a Mon Sep 17 00:00:00 2001 From: bwmac Date: Wed, 13 Nov 2024 14:00:26 -0500 Subject: [PATCH] try sage-aws-eks module --- deployments/stacks/dpe-k8s-deployments/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/stacks/dpe-k8s-deployments/main.tf b/deployments/stacks/dpe-k8s-deployments/main.tf index ba86fa19..ed690d0c 100644 --- a/deployments/stacks/dpe-k8s-deployments/main.tf +++ b/deployments/stacks/dpe-k8s-deployments/main.tf @@ -206,7 +206,7 @@ resource "aws_iam_role" "clickhouse_backup_access" { Action = "sts:AssumeRoleWithWebIdentity" Effect = "Allow" Principal = { - Federated = "arn:aws:iam::${var.aws_account_id}:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/${module.eks.cluster_id}" + Federated = "arn:aws:iam::${var.aws_account_id}:oidc-provider/oidc.eks.us-east-1.amazonaws.com/id/${module.sage-aws-eks.eks.cluster_id}" } # Condition = { # StringEquals = {