terraform/quickstart/101-azure-virtual-desktop/USAGE.md

9.5 KiB

Usage

Requirements

Name Version
azurerm ~>2.0

Providers

Name Version
azuread n/a
azurerm ~>2.0
random n/a
time n/a

Modules

No modules.

Resources

Name Type
azuread_group.aad_group resource
azuread_group_member.aad_group_member resource
azurerm_log_analytics_workspace.law resource
azurerm_network_interface.avd_vm_nic resource
azurerm_network_security_group.nsg resource
azurerm_resource_group.log resource
azurerm_resource_group.rg resource
azurerm_resource_group.rg_storage resource
azurerm_resource_group.sigrg resource
azurerm_role_assignment.af_role resource
azurerm_role_assignment.role resource
azurerm_shared_image.example resource
azurerm_shared_image_gallery.sig resource
azurerm_storage_account.storage resource
azurerm_storage_share.FSShare resource
azurerm_subnet.subnet resource
azurerm_subnet_network_security_group_association.nsg_assoc resource
azurerm_virtual_desktop_application_group.dag resource
azurerm_virtual_desktop_host_pool.hostpool resource
azurerm_virtual_desktop_workspace.workspace resource
azurerm_virtual_desktop_workspace_application_group_association.ws-dag resource
azurerm_virtual_machine_extension.domain_join resource
azurerm_virtual_machine_extension.vmext_dsc resource
azurerm_virtual_network.vnet resource
azurerm_virtual_network_peering.peer1 resource
azurerm_virtual_network_peering.peer2 resource
azurerm_windows_virtual_machine.avd_vm resource
random_string.AVD_local_password resource
random_string.random resource
time_rotating.avd_token resource
azuread_user.aad_user data source
azurerm_role_definition.role data source
azurerm_role_definition.storage_role data source
azurerm_virtual_network.ad_vnet_data data source

Inputs

Name Description Type Default Required
aad_group_name Azure Active Directory Group for AVD users string n/a yes
ad_rg The resource group for AD VM string n/a yes
ad_vnet Name of domain controller vnet string n/a yes
avd_users AVD users list [] no
deploy_location The Azure Region in which all resources in this example should be created. string n/a yes
dns_servers Custom DNS configuration list(string) n/a yes
domain_name Name of the domain to join string n/a yes
domain_password Password of the user to authenticate with the domain string n/a yes
domain_user_upn Username for domain join (do not include domain name as this is appended) string n/a yes
hostpool Name of the Azure Virtual Desktop host pool string "AVD-TF-HP" no
local_admin_password local admin password any n/a yes
local_admin_username local admin username string n/a yes
ou_path n/a string "" no
prefix Prefix of the name of the AVD machine(s) string n/a yes
rdsh_count Number of AVD machines to deploy number 2 no
rg_name Name of the Resource group in which to deploy these resources string "AVD-TF" no
shared Prefix of the name of the AVD machine(s) string n/a yes
subnet_range Address range for session host subnet list(string) n/a yes
vm_size Size of the machine to deploy string "Standard_DS2_v2" no
vnet_range Address range for deployment VNet list(string) n/a yes
workspace Name of the Azure Virtual Desktop workspace string "AVD TF Workspace" no

Outputs

Name Description
aadgroupname Azure Active Directory Group for AVD users
avdusers AVD users
dnsservers Custom DNS configuration
location The Azure region
rdshcount The number of VMs created
resource_group_name Name of the Resource group created
storage_account_share Name of the Azure File Share created for FSLogix
vnetrange Address range for deployment vnet