Azure Landing Zones Documentation
Home GitHub Issue Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

4 - Turn off Bastion host

You can choose to not deploy a Bastion Host. In order to do that, they need to remove the Bastion Host configuration. You can either comment out or remove the configuration entirely.

The steps to follow are:

  1. Delete the following settings by searching for the keys and removing the line or block
    Setting TypeParent block(s)KeyActionCountNotes
    linecustom_replacements > names<region>_bastion_host_nameDelete1+<region> is the relevant region (e.g. primary or secondary)
    linecustom_replacements > names<region>_bastion_public_ip_nameDelete1+<region> is the relevant region (e.g. primary or secondary)
    linecustom_replacements > names<region>_bastion_subnet_address_prefixDelete1+<region> is the relevant region (e.g. primary or secondary)
    blockhub_and_spoke_vnet_virtual_networks OR virtual_wan_virtual_hubsbastionDelete1+There will be two instances for a multi-region deployment