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"]