Skip to content
Permalink
Browse files

feat: add outputs for do k8s module

  • Loading branch information...
etienne-napoleone committed May 13, 2019
1 parent 9631e3e commit 3fe2d9dff7d048d18e4dc949f9155bf23cb2ce69
Showing with 12 additions and 0 deletions.
  1. +12 −0 terraform/modules/providers/digitalocean/kubernetes/outputs.tf
@@ -0,0 +1,12 @@
output "endpoint" {
value = "${digitalocean_kubernetes_cluster.cluster.endpoint}"
}
output "client_certificate" {
value = "${base64decode(digitalocean_kubernetes_cluster.cluster.kube_config.0.client_certificate)}"
}
output "client_key" {
value = "${base64decode(digitalocean_kubernetes_cluster.cluster.kube_config.0.client_key)}"
}
output "cluster_ca_certificate" {
value = "${base64decode(digitalocean_kubernetes_cluster.cluster.kube_config.0.cluster_ca_certificate)}"
}

0 comments on commit 3fe2d9d

Please sign in to comment.
You can’t perform that action at this time.