Skip to content

Commit

Permalink
Add terraform tag to MI resources in MSSQL module (#1396)
Browse files Browse the repository at this point in the history
Co-authored-by: Automatic Update <[email protected]>
  • Loading branch information
sveinpj and Automatic Update authored Jul 12, 2024
1 parent df3a56d commit 5e738dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions terraform/subscriptions/modules/mssqldatabase/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ resource "azurerm_user_assigned_identity" "server" {
name = var.managed_identity_server_name
location = var.location
resource_group_name = var.rg_name
tags = {
IaC = "terraform"
}

}
resource "azurerm_user_assigned_identity" "admin" {
name = var.managed_identity_admin_name
location = var.location
resource_group_name = var.rg_name
tags = {
IaC = "terraform"
}
}

resource "azurerm_role_assignment" "security" {
Expand Down

0 comments on commit 5e738dd

Please sign in to comment.