-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
114 lines (93 loc) · 2.91 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
output "all_availability_domains" {
value = data.oci_identity_availability_domains.ads.availability_domains
description = "All availaility domains."
}
output "compartment_name" {
value = oci_identity_compartment.terraform_compartment.name
description = "Name of the compartment."
}
output "compartment_id" {
value = oci_identity_compartment.terraform_compartment.id
description = "ID of the compartment."
}
output "vcp_id" {
value = module.vcn.vcn_id
description = "ID of the VCN."
}
output "vcn_id_route_id" {
value = module.vcn.ig_route_id
description = "ID of the route."
}
output "vcn_nat_gateway_id" {
value = module.vcn.nat_gateway_id
description = "ID of the NAT gateway."
}
output "vcn_nat_route_id" {
value = module.vcn.nat_route_id
description = "ID of the NAT route."
}
output "available_images" {
value = data.oci_core_images.instance_images.images
description = "Available images."
}
output "public_ip_for_compute_instance" {
value = oci_core_instance.ubuntu_instance[*].public_ip
description = "Public IPs of the instances."
}
output "instance_name" {
value = oci_core_instance.ubuntu_instance[*].display_name
description = "Names of the instances."
}
output "instance_ocid" {
value = oci_core_instance.ubuntu_instance[*].id
description = "OCID of the instances."
}
output "instance_region" {
value = oci_core_instance.ubuntu_instance[*].region
description = "Region of the instances."
}
output "instance_shape" {
value = oci_core_instance.ubuntu_instance[*].shape
description = "Shape of the instances."
}
output "instance_state" {
value = oci_core_instance.ubuntu_instance[*].state
description = "State of the instances."
}
output "instance_OCPUs" {
value = oci_core_instance.ubuntu_instance[*].shape_config[0].ocpus
description = "CPUs of the instances."
}
output "instance_memory_in_GBs" {
value = oci_core_instance.ubuntu_instance[*].shape_config[0].memory_in_gbs
description = "Memory in GB of the instances."
}
output "time_created" {
value = oci_core_instance.ubuntu_instance[*].time_created
description = "Creation time of the instances"
}
output "kubeconfig" {
value = module.kubeconfig.kubeconfig
description = "Kubeconfig to access the cluster"
sensitive = true
}
output "kubeconfig_commands" {
value = module.kubeconfig.kubeconfig_commands
description = "Kubeconfig commands to apply to local kubeconfig"
sensitive = true
}
output "client_certificate" {
value = module.tls.client_pem
description = "Kubernetes Client Certificate"
sensitive = true
}
output "client_key" {
value = module.tls.client_key
description = "Kubernetes Client Key"
sensitive = true
}
output "cluster_ca_certificate" {
value = module.tls.ca_pem
description = "Kubernetes Cluster CA Certificate"
sensitive = true
}