File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
operations/deployment/terraform/modules/aws/db_proxy Expand file tree Collapse file tree 1 file changed +1
-1
lines changed 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