From 5e738ddb89b5eca3e40e31f43949c2640bdad52d Mon Sep 17 00:00:00 2001 From: Svein-Petter Johnsen <83902071+sveinpj@users.noreply.github.com> Date: Fri, 12 Jul 2024 12:33:22 +0200 Subject: [PATCH] Add terraform tag to MI resources in MSSQL module (#1396) Co-authored-by: Automatic Update --- terraform/subscriptions/modules/mssqldatabase/iam.tf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/terraform/subscriptions/modules/mssqldatabase/iam.tf b/terraform/subscriptions/modules/mssqldatabase/iam.tf index 6abd59a76..78f0d7ae1 100644 --- a/terraform/subscriptions/modules/mssqldatabase/iam.tf +++ b/terraform/subscriptions/modules/mssqldatabase/iam.tf @@ -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" {