mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-26 05:19:32 +01:00
7c3f3ab6d0
* CoreOS Container Linux was deprecated in v1.18.3 * Continue transitioning docs and modules from supporting both CoreOS and Flatcar "variants" of Container Linux to now supporting Flatcar Linux and equivalents Action Required: Update the Flatcar Linux modules `source` to replace `s/container-linux/flatcar-linux`. See docs for examples
61 lines
1.4 KiB
HCL
61 lines
1.4 KiB
HCL
output "kubeconfig-admin" {
|
|
value = module.bootstrap.kubeconfig-admin
|
|
}
|
|
|
|
# Outputs for Kubernetes Ingress
|
|
|
|
output "ingress_dns_name" {
|
|
value = aws_lb.nlb.dns_name
|
|
description = "DNS name of the network load balancer for distributing traffic to Ingress controllers"
|
|
}
|
|
|
|
output "ingress_zone_id" {
|
|
value = aws_lb.nlb.zone_id
|
|
description = "Route53 zone id of the network load balancer DNS name that can be used in Route53 alias records"
|
|
}
|
|
|
|
# Outputs for worker pools
|
|
|
|
output "vpc_id" {
|
|
value = aws_vpc.network.id
|
|
description = "ID of the VPC for creating worker instances"
|
|
}
|
|
|
|
output "subnet_ids" {
|
|
value = aws_subnet.public.*.id
|
|
description = "List of subnet IDs for creating worker instances"
|
|
}
|
|
|
|
output "worker_security_groups" {
|
|
value = [aws_security_group.worker.id]
|
|
description = "List of worker security group IDs"
|
|
}
|
|
|
|
output "kubeconfig" {
|
|
value = module.bootstrap.kubeconfig-kubelet
|
|
}
|
|
|
|
# Outputs for custom load balancing
|
|
|
|
output "nlb_id" {
|
|
description = "ARN of the Network Load Balancer"
|
|
value = aws_lb.nlb.id
|
|
}
|
|
|
|
output "worker_target_group_http" {
|
|
description = "ARN of a target group of workers for HTTP traffic"
|
|
value = module.workers.target_group_http
|
|
}
|
|
|
|
output "worker_target_group_https" {
|
|
description = "ARN of a target group of workers for HTTPS traffic"
|
|
value = module.workers.target_group_https
|
|
}
|
|
|
|
# Outputs for debug
|
|
|
|
output "assets_dist" {
|
|
value = module.bootstrap.assets_dist
|
|
}
|
|
|