mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-26 07:29:32 +01:00
96b646cf6d
* Rename render module from bootkube to bootstrap. Avoid confusion with the kubernetes-incubator/bootkube tool since it is no longer used * Use the poseidon/terraform-render-bootstrap Terraform module (formerly poseidon/terraform-render-bootkube) * https://github.com/poseidon/terraform-render-bootkube/pull/149
42 lines
919 B
HCL
42 lines
919 B
HCL
output "kubeconfig-admin" {
|
|
value = module.bootstrap.kubeconfig-admin
|
|
}
|
|
|
|
output "controllers_dns" {
|
|
value = digitalocean_record.controllers[0].fqdn
|
|
}
|
|
|
|
output "workers_dns" {
|
|
# Multiple A and AAAA records with the same FQDN
|
|
value = digitalocean_record.workers-record-a[0].fqdn
|
|
}
|
|
|
|
output "controllers_ipv4" {
|
|
value = [digitalocean_droplet.controllers.*.ipv4_address]
|
|
}
|
|
|
|
output "controllers_ipv6" {
|
|
value = [digitalocean_droplet.controllers.*.ipv6_address]
|
|
}
|
|
|
|
output "workers_ipv4" {
|
|
value = [digitalocean_droplet.workers.*.ipv4_address]
|
|
}
|
|
|
|
output "workers_ipv6" {
|
|
value = [digitalocean_droplet.workers.*.ipv6_address]
|
|
}
|
|
|
|
# Outputs for custom firewalls
|
|
|
|
output "controller_tag" {
|
|
description = "Tag applied to controller droplets"
|
|
value = digitalocean_tag.controllers.name
|
|
}
|
|
|
|
output "worker_tag" {
|
|
description = "Tag applied to worker droplets"
|
|
value = digitalocean_tag.workers.name
|
|
}
|
|
|