From b14ffeb69efb0f8c96c689e692ce2c940b94ebed Mon Sep 17 00:00:00 2001 From: Matthew Creal Morgan Date: Wed, 27 Aug 2025 16:07:57 -0700 Subject: [PATCH] Update deprecated attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ╷ │ Warning: Deprecated attribute │ │ on .terraform/modules/awsauth_cluster-roles/patch-aws-auth/locals.tf line 2, in locals: │ 2: region = var.region == "" ? data.aws_region.current.name : var.region │ │ The attribute "name" is deprecated. Refer to the provider documentation for details. ╵ --- patch-aws-auth/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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