Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare and contrast azure-py-vdc and azureng-py-vdc #806

Merged
merged 19 commits into from
Oct 8, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Delay Azure Bastion to reduce contention
  • Loading branch information
jamesianberry committed Oct 4, 2020
commit 231ed7bb39910bed8c37ed04f717ab5d04670c60
2 changes: 2 additions & 0 deletions azure-py-virtual-data-center/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ After cloning this repo, `cd` into the `azure-py-virtual-data-center` directory
$ pulumi config set azure_bastion "true"
$ pulumi config set forced_tunnel "10.0.100.1"
```

Note that it is advisable to add Azure Bastion on the second pass to avoid contention.

1. Deploy the `prod` stack with the `pulumi up` command. This may take up to an hour to provision all the Azure resources specified, including gateways, firewall and bastion hosts:

Expand Down
2 changes: 1 addition & 1 deletion azure-py-virtual-data-center/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def __init__(self, name: str, props: HubProps, opts: ResourceOptions=None):
stem = name,
virtual_network_name = hub.name,
address_prefix = str(abs_nw),
depends_on = [hub_gw_sn],
depends_on = [hub_er_gw, hub_vpn_gw],
)

# VNet Peering between stacks using StackReference (optional)
Expand Down
2 changes: 1 addition & 1 deletion azure-py-virtual-data-center/spoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self, name: str, props: SpokeProps,
stem = name,
virtual_network_name = spoke.name,
address_prefix = str(abs_nw),
depends_on = [spoke, props.hub.fw],
depends_on = [hub_spoke, spoke_hub, spoke_rt],
)

# add route from firewall to corresponding spoke in peered stack
Expand Down