-
Notifications
You must be signed in to change notification settings - Fork 12
/
outputs.tf
executable file
·52 lines (48 loc) · 1.54 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 (c) 2022 Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
# Deployment outputs
output "stack_version" {
value = file("${path.module}/VERSION")
}
output "deploy_id" {
value = local.deploy_id
}
# OKE Outputs
output "comments" {
value = module.oke.comments
}
output "deployed_oke_kubernetes_version" {
value = module.oke.deployed_oke_kubernetes_version
}
output "deployed_to_region" {
value = module.oke.deployed_to_region
}
output "kubeconfig" {
value = module.oke.kubeconfig
sensitive = true
}
output "kubeconfig_for_kubectl" {
value = module.oke.kubeconfig_for_kubectl
description = "If using Terraform locally, this command set KUBECONFIG environment variable to run kubectl locally"
}
output "oke_cluster_ocid" {
value = module.oke.oke_cluster_ocid
}
output "oke_node_pools" {
value = module.oke_node_pools
}
output "subnets" {
value = module.subnets
}
output "dev" {
value = module.oke.dev
}
### Important Security Notice ###
# The private key generated by this resource will be stored unencrypted in your Terraform state file.
# Use of this resource for production deployments is not recommended.
# Instead, generate a private key file outside of Terraform and distribute it securely to the system where Terraform will be run.
output "generated_private_key_pem" {
value = var.generate_public_ssh_key ? tls_private_key.oke_worker_node_ssh_key.private_key_pem : "No Keys Auto Generated"
sensitive = true
}