Skip to content

Commit

Permalink
resolve outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusty93 committed Oct 5, 2023
1 parent 8596b97 commit ade372b
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions identity_github_runner/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
output "user_managed_identity" {
value = {
resource_group_name = azurerm_user_assigned_identity.identity.resource_group_name
app_name = azurerm_user_assigned_identity.identity.name
client_id = azurerm_user_assigned_identity.identity.client_id
object_id = azurerm_user_assigned_identity.identity.principal_id
}
output "identity_resource_group" {
value = azurerm_user_assigned_identity.identity.resource_group_name
description = "User Managed Identity resource group"
}

output "identity_app_name" {
value = azurerm_user_assigned_identity.identity.name
description = "User Managed Identity name"
}

output "identity_client_id" {
value = azurerm_user_assigned_identity.identity.client_id
description = "User Managed Identity client id"
}

output "identity_principal_id" {
value = azurerm_user_assigned_identity.identity.principal_id
description = "User Managed Identity principal id"
}

0 comments on commit ade372b

Please sign in to comment.