From f8554f0b640fee128a1ec42e0e5a40959d5a60f7 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Thu, 13 Nov 2025 11:06:03 -0600 Subject: [PATCH] fix: Replace deprecated `name` attribute with current `region` attribute to remove warning --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index aeacdef..caae6f3 100644 --- a/main.tf +++ b/main.tf @@ -15,7 +15,7 @@ data "aws_region" "current" { locals { partition = try(data.aws_partition.current[0].partition, null) account_id = try(data.aws_caller_identity.current[0].account_id, null) - region = try(data.aws_region.current[0].name, null) + region = try(data.aws_region.current[0].region, null) } ################################################################################