https://github.com/libre-devops/terraform-azurerm-avd-host-pool
A module used to deploy a Azure Virtual Desktop (AVD) or Windows Virtual Desktop (WVD) in Azure
https://github.com/libre-devops/terraform-azurerm-avd-host-pool
Last synced: 2 months ago
JSON representation
A module used to deploy a Azure Virtual Desktop (AVD) or Windows Virtual Desktop (WVD) in Azure
- Host: GitHub
- URL: https://github.com/libre-devops/terraform-azurerm-avd-host-pool
- Owner: libre-devops
- License: mit
- Created: 2022-08-13T23:35:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-14T00:31:00.000Z (over 2 years ago)
- Last Synced: 2024-12-26T16:12:21.558Z (4 months ago)
- Language: HCL
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
```hcl
module "rg" {
source = "registry.terraform.io/libre-devops/rg/azurerm"rg_name = "rg-${var.short}-${var.loc}-${terraform.workspace}-build" // rg-ldo-euw-dev-build
location = local.location // compares var.loc with the var.regions var to match a long-hand name, in this case, "euw", so "westeurope"
tags = local.tags# lock_level = "CanNotDelete" // Do not set this value to skip lock
}module "avd_host_pool" {
source = "registry.terraform.io/libre-devops/avd-host-pool/azurerm"location = module.rg.rg_location
rg_name = module.rg.rg_name
tags = module.rg.rg_tagshost_pool_name = "vdpool-${var.short}-${var.loc}-${terraform.workspace}-01"
host_pool_friendly_name = "vdpool01"
host_pool_type = "Personal"
validate_environment = true
description = "Test AVD instance"
}
```## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | n/a |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [azurerm_virtual_desktop_host_pool.host_pool](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/virtual_desktop_host_pool) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [custom\_rdp\_properties](#input\_custom\_rdp\_properties) | Passes custom rdp properties to the host pool if used | `string` | `null` | no |
| [description](#input\_description) | The description of the host pool | `string` | `null` | no |
| [host\_pool](#input\_host\_pool) | The name of the host pool | `string` | n/a | yes |
| [host\_pool\_friendly\_name](#input\_host\_pool\_friendly\_name) | The friendly name for your host pool | `string` | `null` | no |
| [host\_pool\_type](#input\_host\_pool\_type) | Determines whether the VMs are part of a pool or are personal assigned, defaults to Personal | `string` | `"Personal"` | no |
| [identity\_ids](#input\_identity\_ids) | Specifies a list of user managed identity ids to be assigned to the VM. | `list(string)` | `[]` | no |
| [identity\_type](#input\_identity\_type) | The Managed Service Identity Type of this Virtual Machine. | `string` | `""` | no |
| [lb\_type](#input\_lb\_type) | Determines the load balancer type in the host pool, can only be BreadthFirst, DepthFirst or Persistent for Personal Pools | `string` | `"BreathFirst"` | no |
| [location](#input\_location) | The location for this resource to be put in | `string` | n/a | yes |
| [max\_session\_allowed](#input\_max\_session\_allowed) | Determines the amount of sessions allowed | `number` | `1` | no |
| [preferred\_app\_group\_type](#input\_preferred\_app\_group\_type) | Sets the preferred app group type for the host pool | `string` | `"None"` | no |
| [rg\_name](#input\_rg\_name) | The name of the resource group, this module does not create a resource group, it is expecting the value of a resource group already exists | `string` | n/a | yes |
| [start\_vm\_on\_connect](#input\_start\_vm\_on\_connect) | Enables or disables the VM start on connection feature, defaults to true | `bool` | `true` | no |
| [tags](#input\_tags) | A map of the tags to use on the resources that are deployed with this module. | `map(string)` |{| no |
"source": "terraform"
}
| [validate\_environment](#input\_validate\_environment) | Whether you want to validate the environment, and allows you to test service changes before they deploy to production, defaults to false | `bool` | `false` | no |## Outputs
| Name | Description |
|------|-------------|
| [host\_pool\_friendly\_name](#output\_host\_pool\_friendly\_name) | The friendly name of the host pool |
| [host\_pool\_id](#output\_host\_pool\_id) | The ID of the host pool |
| [host\_pool\_location](#output\_host\_pool\_location) | The location of the host pool |
| [host\_pool\_name](#output\_host\_pool\_name) | The name of the host pool |
| [host\_pool\_registration\_info](#output\_host\_pool\_registration\_info) | The registration info of the host pool |
| [host\_pool\_rg\_name](#output\_host\_pool\_rg\_name) | The friendly name of the host pool |