-
Notifications
You must be signed in to change notification settings - Fork 35
/
outputs.tf
72 lines (55 loc) · 1.75 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#####################################################
# IBM Cloud Satellite - IBM
# Copyright 2021 IBM
#####################################################
output "location_id" {
value = module.satellite-location.location_id
}
output "host_script" {
value = module.satellite-location.host_script
}
output "host_ids" {
value = ibm_is_instance.satellite_instance.*.id
}
output "floating_ip_ids" {
value = ibm_is_floating_ip.satellite_ip.*.id
}
output "floating_ip_addresses" {
value = ibm_is_floating_ip.satellite_ip.*.address
}
output "vpc" {
value = ibm_is_vpc.satellite_vpc.id
}
output "default_security_group" {
value = ibm_is_vpc.satellite_vpc.default_security_group
}
output "subnets" {
value = ibm_is_subnet.satellite_subnet.*.id
}
output "cluster_id" {
value = var.create_cluster ? module.satellite-cluster.cluster_id : ""
}
output "cluster_crn" {
value = var.create_cluster ? module.satellite-cluster.cluster_crn : ""
}
output "server_url" {
value = var.create_cluster ? module.satellite-cluster.server_url : ""
}
output "cluster_state" {
value = var.create_cluster ? module.satellite-cluster.cluster_state : ""
}
output "cluster_status" {
value = var.create_cluster ? module.satellite-cluster.cluster_status : ""
}
output "ingress_hostname" {
value = var.create_cluster ? module.satellite-cluster.ingress_hostname : ""
}
output "cluster_worker_pool_id" {
value = var.create_cluster_worker_pool ? module.satellite-cluster-worker-pool.worker_pool_id : ""
}
output "worker_pool_worker_count" {
value = var.create_cluster_worker_pool ? module.satellite-cluster-worker-pool.worker_pool_worker_count : ""
}
output "worker_pool_zones" {
value = var.create_cluster_worker_pool ? module.satellite-cluster-worker-pool.worker_pool_zones : []
}