Outputs for convenience sake
This commit is contained in:
parent
31a5323028
commit
fc178a7ed2
3
lab/cluster/output.tf
Normal file
3
lab/cluster/output.tf
Normal file
@ -0,0 +1,3 @@
|
||||
output hello_address {
|
||||
value = "${var.cluster_dns}:${kubernetes_service.nginx_plain.spec.0.port.0.port}"
|
||||
}
|
5
lab/cluster/variables.tf
Normal file
5
lab/cluster/variables.tf
Normal file
@ -0,0 +1,5 @@
|
||||
variable cluster_dns {
|
||||
default = "cluster.local"
|
||||
type = string
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user