-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoutputs.tf
33 lines (27 loc) · 952 Bytes
/
outputs.tf
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
output "kubeconfig_file" {
description = "kubeconfig file of our newly created cluster"
value = " Use --kubeconfig ${resource.local_sensitive_file.kubeconfig.filename} with your kubectl "
}
output "ingress_ip" {
description = "External IP address of our ingress controller. Create an A record to your domain to validate cert request"
value = local.ingress_ip
}
output "elastic_passwd" {
description = "password of the 'elastic' user"
value = data.kubernetes_secret_v1.elastic_user.data.password
sensitive = true
}
output "elastic_hostname" {
description = "The elastic hostname"
value = var.es_hostname
}
output "kibana_hostname" {
description = "The kibana hostname"
value = var.kibana_hostname
}
# show secret via $ terraform output -json
/* output "secret" {
description = "Our random password"
value = resource.random_password.basic_auth_password.result
sensitive = true
} */