Skip to content

Commit

Permalink
feat: add outputs for do k8s module
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-napoleone committed May 13, 2019
1 parent 9631e3e commit 3fe2d9d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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.