modules/managed_identity/main.tf (6 lines of code) (raw):

resource "azurerm_user_assigned_identity" "mi" { resource_group_name = var.resource_group_name location = var.location name = var.managed_identity_name tags = var.tags }