Skip to content

Commit 324e2db

Browse files
fix: add count to service principal resource.
1 parent 2697d41 commit 324e2db

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
@@ -9,7 +9,7 @@ data "aws_partition" "current" {}
99
data "aws_service_principal" "rds" {
1010
count = var.create && var.create_iam_role ? 1 : 0
1111
service_name = "rds"
12-
region = data.aws_region.current.region
12+
region = data.aws_region.current.name
1313
}
1414
################################################################################
1515
# RDS Proxy

0 commit comments

Comments
 (0)