diff --git a/patch-aws-auth/locals.tf b/patch-aws-auth/locals.tf index b55ae7b..9a7017b 100644 --- a/patch-aws-auth/locals.tf +++ b/patch-aws-auth/locals.tf @@ -1,5 +1,5 @@ locals { - region = var.region == "" ? data.aws_region.current.name : var.region + region = var.region == "" ? data.aws_region.current.id : var.region aws_eks_cluster_auth = data.aws_eks_cluster_auth.cluster aws_eks_cluster = data.aws_eks_cluster.cluster