github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/deploy/dev/terraform/network.tf (about)

     1  # VPC
     2  resource "google_compute_network" "vpc_network" {
     3      name = "${var.project_id}-network"
     4  }
     5  
     6  resource "google_compute_firewall" "allow-ssh" {
     7      name = "${var.project_id}-allow-ssh"
     8      network = google_compute_network.vpc_network.name
     9      allow {
    10          protocol = "tcp"
    11          ports    = ["22"]
    12      }
    13      target_tags = ["ssh"]
    14      source_ranges = ["0.0.0.0/0"]
    15  }