From c15200ea00a80260a7709ed48f2c075b1db1f215 Mon Sep 17 00:00:00 2001 From: Sudhanshu Saurav Date: Sun, 26 Oct 2025 20:18:45 +0530 Subject: [PATCH] Updated main.tf name has been Deprecated name - (Optional, Deprecated) Full name of the region to select. Use region instead. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region#:~:text=name%20%2D%20(Optional%2C%20Deprecated)%20Full%20name%20of%20the%20region%20to%20select.%20Use%20region%20instead. --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d324bd30..f0b60cd8 100644 --- a/main.tf +++ b/main.tf @@ -18,7 +18,7 @@ resource "time_sleep" "this" { locals { account_id = data.aws_caller_identity.current.account_id partition = data.aws_partition.current.partition - region = data.aws_region.current.name + region = data.aws_region.current.region # Threads the sleep resource into the module to make the dependency cluster_endpoint = time_sleep.this.triggers["cluster_endpoint"]