Fix exitless loop
MODIFY
azure-py-virtual-data-center/spoke.py
azure-py-virtual-data-center/spoke.py
@@ -75,11 +75,11 @@ class Spoke(ComponentResource):
if props.peer:
peer_fw_ip = props.reference.get_output('fw_ip')
peer_spoke_as = props.reference.get_output(f'{name}_address_spaces')
- for address_prefix in peer_spoke_as:
+ #for address_prefix in peer_spoke_as:
vdc.route_to_virtual_appliance(
stem = f'fw-{props.peer}-{name}',
route_table_name = props.fw_rt_name,
- address_prefix = address_prefix,
+ address_prefix = peer_spoke_as[0], #address_prefix,
next_hop_in_ip_address = peer_fw_ip,
) # only one address_space per spoke at present...

Fix exitless loop (#750)