How to create Service Group on NSX-T with Terraform?
resource "nsxt_policy_service" "SRV-GRP-TCP-P-1024-To-1064-443-22" {
display_name = "SRV-GRP-TCP-P-1024-To-1064-443-22"
l4_port_set_entry {
display_name = "SRV-TCP-P-1024-To-1064"
protocol = "TCP"
destination_ports = ["1024-1064"]
}
l4_port_set_entry {
display_name = "SRV-TCP-P-443"
protocol = "TCP"
destination_ports = ["443"]
}
l4_port_set_entry {
display_name = "SRV-TCP-P-22-ssh"
protocol = "TCP"
destination_ports = ["22"]
}
}
No comments:
Post a Comment