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