forked from oracle-terraform-modules/terraform-oci-oke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
51 lines (40 loc) · 1.51 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
# Copyright 2017, 2019, Oracle Corporation and/or affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
# for reuse
output "ig_route_id" {
description = "id of route table to vcn internet gateway"
value = module.base.ig_route_id
}
output "nat_route_id" {
description = "id of route table to nat gateway attached to vcn"
value = module.base.nat_route_id
}
output "subnet_ids" {
description = "map of subnet ids (worker, int_lb, pub_lb) used by OKE."
value = module.network.subnet_ids
}
output "vcn_id" {
description = "id of vcn where oke is created. use this vcn id to add additional resources"
value = module.base.vcn_id
}
# convenient output
output "bastion_public_ip" {
description = "public ip address of bastion host"
value = module.base.bastion_public_ip
}
output "operator_private_ip" {
description = "private ip address of operator host"
value = module.base.operator_private_ip
}
output "ssh_to_operator" {
description = "convenient command to ssh to the operator host"
value = module.base.ssh_to_operator
}
output "ssh_to_bastion" {
description = "convenient command to ssh to the bastion host"
value = module.base.ssh_to_bastion
}
output "kubeconfig" {
description = "convenient command to set KUBECONFIG environment variable before running kubectl locally"
value = "export KUBECONFIG=generated/kubeconfig"
}