From 324e2db86864add0d3fdbc59bd06a8ed400ec6fc Mon Sep 17 00:00:00 2001 From: Uladzislau Orlovskiy Date: Thu, 15 May 2025 19:41:20 +0200 Subject: [PATCH] fix: add count to service principal resource. --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 7d62ed9..717406f 100644 --- a/main.tf +++ b/main.tf @@ -9,7 +9,7 @@ data "aws_partition" "current" {} data "aws_service_principal" "rds" { count = var.create && var.create_iam_role ? 1 : 0 service_name = "rds" - region = data.aws_region.current.region + region = data.aws_region.current.name } ################################################################################ # RDS Proxy