-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
27 lines (23 loc) · 812 Bytes
/
output.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# resource "terraform_data" "shownodeportforargocd" {
# provisioner "local-exec" {
# command = "kubectl get svc argocd-server -n argocd -o=jsonpath='{.spec.ports[?(@.name=='http')].nodePort}'"
# }
# }
# output "shownodeportforargocd" {
# value = terraform_data.shownodeportforargocd.output
# description = "argocd nodeport"
# }
# resource "terraform_data" "Get-DnsClientNrptRule" {
# provisioner "local-exec" {
# command = "DnsClientNrptRule -Namespace \".minikube.local\""
# interpreter = ["PowerShell", "-Command"]
# }
# depends_on = [ resource.minikube_cluster.cluster ]
# }
# output "Get-DnsClientNrptRule" {
# value = terraform_data.Get-DnsClientNrptRule.output
# description = "dns rule"
# }
# output "minikube_name" {
# value = module.minikube.minikube_name
# }