Created
May 5, 2019 22:13
-
-
Save kainlite/18205b3ba693be054e2ea22832f4ecef to your computer and use it in GitHub Desktop.
terraform output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Export the kubectl configuration file | |
| resource "local_file" "kubernetes_config" { | |
| content = "${digitalocean_kubernetes_cluster.dev-k8s.kube_config.0.raw_config}" | |
| filename = "kubeconfig.yaml" | |
| } | |
| # Print the load balancer ip | |
| output "digitalocean_loadbalancer" { | |
| value = "${digitalocean_loadbalancer.public.ip}" | |
| description = "The public IP address of the load balancer." | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment