diff --git a/ci-infra/azure/main.tf b/ci-infra/azure/main.tf index 8f8daf974..78ea43752 100644 --- a/ci-infra/azure/main.tf +++ b/ci-infra/azure/main.tf @@ -62,7 +62,7 @@ resource "azurerm_role_definition" "caa_ci_provisioner" { resource "azurerm_role_assignment" "ci_custom_role_binding" { scope = data.azurerm_subscription.current.id - role_definition_name = "Azure CAA CI Provisioner" + role_definition_name = azurerm_role_definition.caa_ci_provisioner.name principal_id = azurerm_user_assigned_identity.gh_action_user_identity.principal_id }