File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
operations/deployment/terraform Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -329,7 +329,7 @@ module "db_proxy_aurora" {
329329 aws_resource_identifier_supershort = var. aws_resource_identifier_supershort
330330 incoming_random_string = module. aurora_rds [0 ]. random_string
331331 # Dependencies
332- depends_on = [module . vpc ,module . aurora_rds , module . ec2 ]
332+ depends_on = [module . vpc ,module . aurora_rds ]
333333
334334 providers = {
335335 aws = aws.db_proxy
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ locals {
2020 auth_selected = one (compact ([for key , value in local . auth_mapping : strcontains (lower (local. db_engine ), key) ? value : " " ]))
2121 # ##
2222 db_engine = var. aws_db_proxy_cluster ? data. aws_rds_cluster . db [0 ]. engine : data. aws_db_instance . db [0 ]. engine
23- db_port = var. aws_db_proxy_cluster ? tonumber (data. aws_rds_cluster . db [0 ]. port ) : tonumber (data. aws_db_instance . db [0 ]. db_instance_port )
23+ db_port = var. aws_db_proxy_cluster ? tonumber (data. aws_rds_cluster . db [0 ]. port ) : tonumber (data. aws_db_instance . db [0 ]. port )
2424 db_security_group = var. aws_db_proxy_cluster ? data. aws_rds_cluster . db [0 ]. vpc_security_group_ids : data. aws_db_instance . db [0 ]. vpc_security_groups
2525}
2626
You can’t perform that action at this time.
0 commit comments