From 43366f449bf49bad6c0a730cc3b2fda3a6484919 Mon Sep 17 00:00:00 2001 From: takahashi shun Date: Mon, 13 Oct 2025 18:05:31 +0900 Subject: [PATCH] fix: replace deprecated data.aws_region.current.name with id --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index d324bd30..d6d61ec0 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.id # Threads the sleep resource into the module to make the dependency cluster_endpoint = time_sleep.this.triggers["cluster_endpoint"]