From 6a573010dfeae58ed1d5c71926a4ac6ee9f1f1ed Mon Sep 17 00:00:00 2001 From: Mano Meenaksh Date: Tue, 24 Mar 2020 11:20:28 -0400 Subject: [PATCH] add outputs.tf file to use as Terraform modules --- outputs.tf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 outputs.tf diff --git a/outputs.tf b/outputs.tf new file mode 100644 index 0000000..c0f0ac1 --- /dev/null +++ b/outputs.tf @@ -0,0 +1,31 @@ +output "id" { + value = "${azurerm_kubernetes_cluster.test.id}" +} + +output "kube_admin_config" { + value = "${azurerm_kubernetes_cluster.test.kube_config_raw}" +} + +output "kube_config" { + value = "${azurerm_kubernetes_cluster.test.kube_config_raw}" +} + +output "client_key" { + value = "${azurerm_kubernetes_cluster.test.kube_config.0.client_key}" +} + +output "client_certificate" { + value = "${azurerm_kubernetes_cluster.test.kube_config.0.client_certificate}" +} + +output "cluster_ca_certificate" { + value = "${azurerm_kubernetes_cluster.test.kube_config.0.cluster_ca_certificate}" +} + +output "host" { + value = "${azurerm_kubernetes_cluster.test.kube_config.0.host}" +} + +output "appgw_public_ip" { + value = "${azurerm_application_gateway.network.frontend_ip_configuration.public_ip_address_id}" +} \ No newline at end of file