You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
DevCenter projects really need a Managed Identity to be able to operate properly, so this needs to be added.
In the interim, you can use azapi
`resource "azapi_update_resource" "projects" {
for_each = azurerm_dev_center_project.projects
type = "Microsoft.DevCenter/projects@2024-10-01-preview"
name = each.value.name
parent_id = azurerm_dev_center.devcenter[var.default_region].id ## resource group
body = {
identity = {
type = "UserAssigned"
userAssignedIdentities = [
azurerm_user_assigned_identity.id-project[each.key].id,
]
}
}
`
Is there an existing issue for this?
Community Note
Description
DevCenter projects really need a Managed Identity to be able to operate properly, so this needs to be added.
In the interim, you can use azapi
`resource "azapi_update_resource" "projects" {
for_each = azurerm_dev_center_project.projects
type = "Microsoft.DevCenter/projects@2024-10-01-preview"
name = each.value.name
parent_id = azurerm_dev_center.devcenter[var.default_region].id ## resource group
body = {
identity = {
type = "UserAssigned"
userAssignedIdentities = [
azurerm_user_assigned_identity.id-project[each.key].id,
]
}
}
`
New or Affected Resource(s)/Data Source(s)
azurerm_dev_center_project
Potential Terraform Configuration
References
Bicep documentation
The text was updated successfully, but these errors were encountered: