You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
605 B
29 lines
605 B
#####
|
|
# Output
|
|
#####
|
|
|
|
output "ssh_user" {
|
|
description = "SSH user to download kubeconfig file"
|
|
value = "centos"
|
|
}
|
|
|
|
output "public_ip" {
|
|
description = "Cluster IP address"
|
|
value = aws_eip.master.public_ip
|
|
}
|
|
|
|
output "dns" {
|
|
description = "Cluster DNS address"
|
|
value = aws_route53_record.master.fqdn
|
|
}
|
|
|
|
output "kubeconfig_dns" {
|
|
description = "Path to the the kubeconfig file using DNS address"
|
|
value = "/home/centos/kubeconfig"
|
|
}
|
|
|
|
output "kubeconfig_ip" {
|
|
description = "Path to the kubeconfig file using IP address"
|
|
value = "/home/centos/kubeconfig_ip"
|
|
}
|
|
|
|
|