skip to Main Content

Azure – how to variablize the resource attribute as input value in terraform

I am trying to use below code data "azurerm_resource_group" "rg_tst_na" { name = "test1" } data "azurerm_resource_group" "rg_dev_na" { name = "test2" } resource "azurerm_role_assignment" "test_role_assign" { for_each = var.test_role_assignment principal_id = azurerm_user_assigned_identity.test_setup["${each.key}_${each.value}"].principal_id # this is created as separate resource…

VIEW QUESTION

Azure DevOps release pipeline has suddenly started failing

2024-07-09T23:11:19.7718791Z Complete getting Artifacts From Template 2024-07-09T23:11:19.7719155Z Start deploying artifacts from the template. 2024-07-09T23:11:19.7722609Z Deploy dev_keyVault_linkedService of type linkedService 2024-07-09T23:11:19.9503411Z For Artifact: dev_keyVault_linkedService: ArtifactDeploymentTask status: 403; status message: Forbidden 2024-07-09T23:11:19.9506451Z Failed 2024-07-09T23:11:19.9507649Z deploy operation failed 2024-07-09T23:11:19.9509658Z An error occurred during…

VIEW QUESTION
Back To Top
Search