Skip to content

Commit 8c41dcc

Browse files
authored
fix: Replace deprecated name attribute with current region attribute to remove warning (#49)
1 parent 8d649ce commit 8c41dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ data "aws_region" "current" {
1515
locals {
1616
partition = try(data.aws_partition.current[0].partition, null)
1717
account_id = try(data.aws_caller_identity.current[0].account_id, null)
18-
region = try(data.aws_region.current[0].name, null)
18+
region = try(data.aws_region.current[0].region, null)
1919
}
2020

2121
################################################################################

0 commit comments

Comments
 (0)