Skip to content

Commit 0484ea8

Browse files
fix(convert-config): build tgw routes for VPN connections (#1295)
1 parent e3838c1 commit 0484ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference-artifacts/Custom-Scripts/lza-upgrade/src/convert-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2805,7 +2805,7 @@ export class ConvertAseaConfig {
28052805
};
28062806
} else if (route['target-vpn']) {
28072807
return {
2808-
vpnConnectionName: route['target-vpn'],
2808+
vpnConnectionName: route['target-vpn']['name'],
28092809
};
28102810
} else if (route['target-tgw']) {
28112811
if (tgwConfig['tgw-attach'] && tgwConfig['tgw-attach']['associate-to-tgw'] === route['target-tgw']) {

0 commit comments

Comments
 (0)