Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for project pools in Dev Centers to support Dev Boxes #26704

Closed
1 task done
webstean opened this issue Jul 19, 2024 · 1 comment · Fixed by #27706
Closed
1 task done

Add support for project pools in Dev Centers to support Dev Boxes #26704

webstean opened this issue Jul 19, 2024 · 1 comment · Fixed by #27706

Comments

@webstean
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.

Description

Add ability to managed project pools in Dev Centers for Dev Boxes.

New or Affected Resource(s)/Data Source(s)

azurerm_dev_center_project_pool_definition

Potential Terraform Configuration

Example, azapi config:-

resource "azapi_resource" "devbox-vscode-pools" {
  for_each = azurerm_dev_center_project.projects

  type = "Microsoft.DevCenter/projects/pools@2023-04-01"
  ## Friendly name that is location specific
  #display_name = "Visual Studio Code"
  name = "Win11_Visual-Studio-Code"

  location = each.value.location
  ## ID for resource of type: projects
  parent_id = each.value.id
  tags      = each.value.tags
  body = jsonencode({
    properties = {
      devBoxDefinitionName  = azapi_resource.devbox-defintion-vscode[var.default_region].name
      licenseType           = "Windows_Client"
      localAdministrator    = "Enabled"
      networkConnectionName = azapi_resource.devbox-networkattach[var.default_region].name
      stopOnDisconnect = {
        gracePeriodMinutes = 60
        status             = "Enabled"
      }
    }
  })
}


### References

_No response_
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants