Spit and polish
MODIFY
azure-py-virtual-data-center/Pulumi.yaml
azure-py-virtual-data-center/Pulumi.yaml
@@ -47,11 +47,11 @@ template:
description: Address range for first application subnet within spoke1_address_space
default: 10.101.1.0/24
azure-py-vdc:spoke2_address_space:
- description: Address space for spoke1 containing ABS and application subnets
+ description: Address space for spoke2 containing ABS and application subnets
default: 10.102.0.0/16
azure-py-vdc:spoke2_bastion_subnet:
- description: Address range for AzureBastionSubnet within spoke1_address_space (optional /27)
+ description: Address range for AzureBastionSubnet within spoke2_address_space (optional /27)
default: 10.102.0.0/27
azure-py-vdc:spoke2_first_subnet:
- description: Address range for first application subnet within spoke1_address_space
+ description: Address range for first application subnet within spoke2_address_space
default: 10.102.1.0/24

MODIFY
azure-py-virtual-data-center/__main__.py
azure-py-virtual-data-center/__main__.py
@@ -45,7 +45,7 @@ hub = Hub(
subnets = [ # extra columns for future NSGs
('domain', 'any', 'any'),
('files', 'any', 'none'),
- ]
+ ],
),
)

MODIFY
azure-py-virtual-data-center/spoke.py
azure-py-virtual-data-center/spoke.py
@@ -41,7 +41,7 @@ class Spoke(ComponentResource):
peer = name,
remote_virtual_network_id = spoke.id,
allow_gateway_transit = True,
- depends_on=[props.hub.er_gw, props.hub.vpn_gw] # avoid contention
+ depends_on=[props.hub.er_gw, props.hub.vpn_gw], # avoid contention
)
# VNet Peering from spoke to the hub
@@ -52,7 +52,7 @@ class Spoke(ComponentResource):
remote_virtual_network_id = props.hub.id,
allow_forwarded_traffic = True,
use_remote_gateways = True, # requires at least one gateway
- depends_on=[props.hub.er_gw, props.hub.vpn_gw]
+ depends_on=[props.hub.er_gw, props.hub.vpn_gw],
)
# provisioning of optional subnet and routes depends_on VNet Peerings

Spit and polish (#668)