forked from remche/terraform-openstack-rke2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
36 lines (31 loc) · 945 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
34
35
36
output "floating_ip" {
value = module.server.floating_ip
description = "Nodes floating IP"
}
output "internal_ip" {
value = module.server.internal_ip
description = "Nodes internal IP"
}
output "router_ip" {
value = module.network.router_ip
description = "Router external_ip"
}
output "node_config" {
value = local.node_config
sensitive = true
description = "Nodes config"
}
output "subnet_id" {
value = module.network.nodes_subnet_id
description = "Nodes Subnet ID"
}
output "kubernetes_config" {
value = var.output_kubernetes_config ? {
host = module.host[0].stdout
client_certificate = module.client_certificate[0].stdout
client_key = module.client_key[0].stdout
cluster_ca_certificate = module.cluster_ca_certificate[0].stdout
} : {}
sensitive = true
description = "Kubernetes config to feed Kubernetes or Helm provider"
}