outputs.tf (24 lines of code) (raw):
output "client_id" {
description = "This is the client id for the user assigned identity."
value = azurerm_user_assigned_identity.this.client_id
}
output "principal_id" {
description = "This is the principal id for the user assigned identity."
value = azurerm_user_assigned_identity.this.principal_id
}
output "resource" {
description = "The object of type User Assigned Identity that was created."
value = azurerm_user_assigned_identity.this
}
output "resource_id" {
description = "This is the full output for the resource."
value = azurerm_user_assigned_identity.this.id
}
output "resource_name" {
description = "The name of the User Assigned Identity that was created."
value = azurerm_user_assigned_identity.this.name
}
output "tenant_id" {
description = "The ID of the Tenant which the Identity belongs to."
value = azurerm_user_assigned_identity.this.tenant_id
}