forked from oracle-terraform-modules/terraform-oci-oke
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
57 lines (45 loc) · 1.64 KB
/
outputs.tf
File metadata and controls
57 lines (45 loc) · 1.64 KB
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
# 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 "admin_private_ip" {
description = "private ip address of admin host"
value = module.base.admin_private_ip
}
output "ssh_to_admin" {
description = "convenient command to ssh to the admin host"
value = module.base.ssh_to_admin
}
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"
}
# output "ocirtoken" {
# description = "authentication token for ocir"
# sensitive = true
# value = module.auth.ocirtoken
# }