File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
deployment/terraform/modules/openstack-kubernetes-infra Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,7 @@ data "local_file" "kube_config_raw_file" {
2222 depends_on = [ null_resource. copy_kubeconfig ]
2323}
2424
25- # output "kube_config_raw" {
26- # value = data.local_file.kube_config_raw_file
27- # description = "Kubeconfig for this cluster"
28- # }
25+
2926
3027# data "external" "extract_kubeconfig_file" {
3128# program = ["bash", "${path.module}/kubeconfig_extraction.sh"]
Original file line number Diff line number Diff line change @@ -29,3 +29,8 @@ output "kubeconfig_file" {
2929 value = abspath (local. kubeconfig_file )
3030 description = " Path to the generated KUBECONFIG file used to connect to kubernetes"
3131}
32+
33+ output "kube_config_raw" {
34+ value = data. local_file . kube_config_raw_file
35+ description = " Kubeconfig for this cluster"
36+ }
You can’t perform that action at this time.
0 commit comments