mirror of
https://github.com/terraform-aws-modules/terraform-aws-rds-proxy.git
synced 2025-12-18 00:41:13 +00:00
Apply suggestions from code review
This commit is contained in:
parent
131b35fde9
commit
9744770e71
1 changed files with 2 additions and 1 deletions
3
main.tf
3
main.tf
|
|
@ -8,8 +8,9 @@ data "aws_region" "current" {}
|
|||
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.name
|
||||
region = data.aws_region.current.name
|
||||
}
|
||||
################################################################################
|
||||
# RDS Proxy
|
||||
|
|
|
|||
Loading…
Reference in a new issue