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:
- Delete the following settings by searching for the keys and removing the line or block
Setting Type Parent block(s) Key Action Count Notes line custom_replacements
>names
<region>_bastion_host_name
Delete 1+ <region>
is the relevant region (e.g.primary
orsecondary
)line custom_replacements
>names
<region>_bastion_public_ip_name
Delete 1+ <region>
is the relevant region (e.g.primary
orsecondary
)line custom_replacements
>names
<region>_bastion_subnet_address_prefix
Delete 1+ <region>
is the relevant region (e.g.primary
orsecondary
)block hub_and_spoke_vnet_virtual_networks
ORvirtual_wan_virtual_hubs
bastion
Delete 1+ There will be two instances for a multi-region deployment