Skip to content

Commit

Permalink
Test dev box definition deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Abby Artagame committed Nov 20, 2024
1 parent 473eeee commit db9316b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tf/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -212,18 +212,17 @@ resource "azurerm_dev_center_project_pool" "devBoxPool" {
depends_on = [azurerm_dev_center_dev_box_definition.devBoxDefinition]
}

resource "azapi_resource" "symbolicname" {
resource "azapi_resource" "devboxPool" {
type = "Microsoft.DevCenter/projects/pools@2023-04-01"
name = var.devBoxPoolName
location = data.azurerm_resource_group.rg.location
parent_id = azurerm_dev_center_project.devCenterProject.id
body = jsonencode({
body = {
properties = {
devBoxDefinitionName = azurerm_dev_center_dev_box_definition.devBoxDefinition.name
licenseType = "Windows_Client"
localAdministrator = "Enabled"
networkConnectionName = "managedNetwork"
singleSignOnStatus = "Enabled"
}
})
}
}

0 comments on commit db9316b

Please sign in to comment.