This example demonstrates the usage of the virtual machine module with default settings. It sets up all necessary dependencies, including a resource group, virtual network, subnet, recovery services vault, backup policy, and key vault, to ensure seamless deployment.
Tip
Our module enables password-based login for Linux virtual machines, configurable via the authentication_type input variable. If the disable_password_authentication setting on the azurerm_linux_virtual_machine resource within this module is not explicitly set to false, Trivy will flag a high-severity warning. To suppress this warning, add the comment #trivy:ignore:avd-azu-0039 directly above the Terraform module definition, as shown in the example below.