2023-10-17 09:46:15 -04:00
|
|
|
output "out_of_cluster_endpoint" {
|
|
|
|
value = local.out_of_cluster_endpoint
|
|
|
|
}
|
|
|
|
|
|
|
|
output "in_cluster_endpoint" {
|
|
|
|
value = local.in_cluster_endpoint
|
2022-10-06 05:51:26 -04:00
|
|
|
}
|
2022-11-26 13:44:34 -05:00
|
|
|
|
2023-07-21 10:43:51 -04:00
|
|
|
output "api_server_cert_sans" {
|
2023-10-17 09:46:15 -04:00
|
|
|
value = sort(
|
|
|
|
distinct(
|
|
|
|
concat(
|
|
|
|
[
|
|
|
|
local.in_cluster_endpoint,
|
|
|
|
local.out_of_cluster_endpoint,
|
|
|
|
],
|
|
|
|
var.custom_endpoint == "" ? [] : [var.custom_endpoint],
|
|
|
|
var.internal_load_balancer ? [] : [local.wildcard_lb_dns_name],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2023-07-21 10:43:51 -04:00
|
|
|
}
|
|
|
|
|
2023-01-19 04:41:07 -05:00
|
|
|
output "uid" {
|
|
|
|
value = local.uid
|
|
|
|
}
|
|
|
|
|
2022-11-26 13:44:34 -05:00
|
|
|
output "initSecret" {
|
|
|
|
value = random_password.initSecret.result
|
|
|
|
sensitive = true
|
|
|
|
}
|
2023-03-20 08:33:04 -04:00
|
|
|
|
|
|
|
output "attestationURL" {
|
|
|
|
value = var.create_maa ? azurerm_attestation_provider.attestation_provider[0].attestation_uri : ""
|
|
|
|
}
|
2023-07-31 04:53:05 -04:00
|
|
|
|
|
|
|
output "network_security_group_name" {
|
|
|
|
value = azurerm_network_security_group.security_group.name
|
|
|
|
}
|
|
|
|
|
|
|
|
output "loadbalancer_name" {
|
|
|
|
value = azurerm_lb.loadbalancer.name
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-08-01 02:40:44 -04:00
|
|
|
output "user_assigned_identity_client_id" {
|
|
|
|
value = data.azurerm_user_assigned_identity.uaid.client_id
|
2023-07-31 04:53:05 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
output "resource_group" {
|
|
|
|
value = var.resource_group
|
|
|
|
}
|
|
|
|
|
|
|
|
output "subscription_id" {
|
|
|
|
value = data.azurerm_subscription.current.subscription_id
|
|
|
|
}
|
2023-10-09 07:04:29 -04:00
|
|
|
|
|
|
|
output "name" {
|
|
|
|
value = local.name
|
|
|
|
}
|
2023-10-23 09:06:48 -04:00
|
|
|
|
|
|
|
output "ip_cidr_nodes" {
|
|
|
|
value = local.cidr_vpc_subnet_nodes
|
|
|
|
}
|