File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -494,10 +494,12 @@ export function toBackend(
494
494
nullsafeVisitor ( ( cpu ) => ( cpu === "gcf_gen1" ? cpu : r . resolveInt ( cpu ) ) )
495
495
) ;
496
496
if ( bdEndpoint . vpc ) {
497
+ bdEndpoint . vpc . connector = params . resolveString ( bdEndpoint . vpc . connector , paramValues ) ;
497
498
if ( bdEndpoint . vpc . connector && ! bdEndpoint . vpc . connector . includes ( "/" ) ) {
498
499
bdEndpoint . vpc . connector = `projects/${ bdEndpoint . project } /locations/${ region } /connectors/${ bdEndpoint . vpc . connector } ` ;
499
500
}
500
- bkEndpoint . vpc = { connector : params . resolveString ( bdEndpoint . vpc . connector , paramValues ) } ;
501
+
502
+ bkEndpoint . vpc = { connector : bdEndpoint . vpc . connector } ;
501
503
proto . copyIfPresent ( bkEndpoint . vpc , bdEndpoint . vpc , "egressSettings" ) ;
502
504
} else if ( bdEndpoint . vpc === null ) {
503
505
bkEndpoint . vpc = null ;
You can’t perform that action at this time.
0 commit comments