Azure resource group
This template deploys a Windows Server virtual machine that includes a virtual network, subnet, public IP address, and more.
Terraform resource types
- random_pet
- azurerm_resource_group
- azurerm_virtual_network
- azurerm_subnet
- azurerm_public_ip
- azurerm_network_security_group
- azurerm_network_interface
- azurerm_network_interface_security_group_association
- random_id
- azurerm_storage_account
- azurerm_windows_virtual_machine
- azurerm_virtual_machine_extension
Variables
Name | Description |
---|---|
resource_group_name_prefix |
Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. |
resource_group_location |
Location of the resource group. |
admin_password |
The password to assign to the Windows Administrator user account. |
Example
To see how to run this example, see Quickstart: Configure a Windows virtual machine in Azure using Terraform.