mirror of
https://github.com/terraform-aws-modules/terraform-aws-rds-proxy.git
synced 2025-12-17 08:21:12 +00:00
fix: add count to service principal resource.
This commit is contained in:
parent
2697d41e89
commit
324e2db868
1 changed files with 1 additions and 1 deletions
2
main.tf
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue