Commit ca568e88 by chenxx

update ports

1 parent a659bf6b
Showing 1 changed file with 2 additions and 2 deletions
......@@ -57,13 +57,13 @@ resource "kubernetes_service" "CUS" {
}
type = "NodePort"
port = [
ports = [
for p in var.ports :
{
port = "${p}"
name = "port-${p}"
protocol = "TCP"
target_port = "${p}"
port = "${p}"
}
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!