Apply suggestions from code review

This commit is contained in:
Anton Babenko 2025-05-22 11:39:27 +02:00 committed by GitHub
parent 131b35fde9
commit 9744770e71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,8 +8,9 @@ data "aws_region" "current" {}
data "aws_partition" "current" {} data "aws_partition" "current" {}
data "aws_service_principal" "rds" { data "aws_service_principal" "rds" {
count = var.create && var.create_iam_role ? 1 : 0 count = var.create && var.create_iam_role ? 1 : 0
service_name = "rds" service_name = "rds"
region = data.aws_region.current.name region = data.aws_region.current.name
} }
################################################################################ ################################################################################
# RDS Proxy # RDS Proxy