Azure/avm-res-compute-virtualmachine
Azure Verified Module for Virtual Machine.
About
Azure Verified Module for Virtual Machine.
Maintained by Azure (verified publisher) on the Terraform Registry. Latest version 0.21.0, 4.0M downloads. Requires providers: azurerm >= 3.116, < 5.0; azapi ~> 2.4; modtm ~> 0.3; random >= 3.6.2, < 4.0.0; tls ~> 4.0.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Accounts, projects or subscriptions vended with guardrails already in place.
- Compute and container platforms that teams can request from a catalog.
- Organization-wide controls applied through code with approvals.
Inputs
Required inputs:
name(string) — The name to use when creating the virtual machine.location(string) — The Azure region where this and supporting resources should be deployed.resource_group_name(string) — The resource group name of the resource group where the vm resources will be deployed.zone(string) — The Availability Zone which the Virtual Machine should be allocated in, only one zone would be accepted.
54 inputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
azurerm_linux_virtual_machineazurerm_network_interfaceazurerm_managed_diskazurerm_virtual_machine_data_disk_attachment× 4azurerm_management_lock× 5azurerm_role_assignment× 4azurerm_monitor_diagnostic_setting× 2azurerm_key_vault_secret× 2azapi_resource× 2azurerm_dev_test_global_vm_shutdown_schedule
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.