outputs.tf (26 lines of code) (raw):
output "automation_account_id" {
description = "ID of the automation account"
value = azurerm_automation_account.this.id
}
output "automation_account_name" {
description = "Name of the automation account"
value = azurerm_automation_account.this.name
}
output "hybrid_service_url" {
description = "Hybrid worker group URL for the automation account"
value = azurerm_automation_account.this.hybrid_service_url
}
output "private_endpoints" {
description = <<DESCRIPTION
A map of the private endpoints created.
DESCRIPTION
value = var.private_endpoints_manage_dns_zone_group ? azurerm_private_endpoint.this_managed_dns_zone_groups : azurerm_private_endpoint.this_unmanaged_dns_zone_groups
}
output "resource_id" {
description = "ID of the automation account"
value = azurerm_automation_account.this.id
}
output "system_assigned_mi_principal_id" {
description = "The system assigned managed identity of the automation account"
value = try(azurerm_automation_account.this.identity[0].principal_id, null)
}