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, you need to update the Bastion Host configuration.

The steps to follow are:

  1. Update the following settings by searching for the keys and updating the value

    Setting TypeParent block(s)KeyActionCountNotes
    linecustom_replacements > names<region>_bastion_enabledUpdate setting to false1+<region> is the relevant region (e.g. primary)
    You should not remove the Bastion Host names from the custom_replacements section as it will result in a templating error. Advanced Terraform users are welcome to tidy up the config and remove the names and related templates if there is no future plan to use a Bastion Host.