-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathoutputs.tf
More file actions
43 lines (39 loc) · 1001 Bytes
/
outputs.tf
File metadata and controls
43 lines (39 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
output "kubeconfig" {
value = module.cluster.kubeconfig
description = <<-EOT
The kubeconfig for the server.
EOT
sensitive = true
}
output "address" {
value = "https://${local.domain}.${local.zone}"
}
output "admin_token" {
value = try(module.bootstrap_rancher[0].admin_token, "")
sensitive = true
}
output "admin_password" {
value = try(module.install_rancher[0].rancher_admin_password, "")
sensitive = true
}
output "vpc" {
value = module.cluster.vpc
}
output "subnets" {
value = module.cluster.subnets
}
output "security_group" {
value = module.cluster.project_security_group
}
output "load_balancer_security_groups" {
value = module.cluster.load_balancer_security_groups
}
output "private_endpoint" {
value = replace(replace(module.cluster.join_url, ":9345", ""), "https", "http")
}
output "domain_object" {
value = module.cluster.project_domain_object
}
output "tls_certificate_chain" {
value = try(module.install_rancher[0].ca_certs, "")
}