// Firewall // ---------------------------------- resource "google_compute_firewall" "allow_http" { name = "allow-http" network = "default" allow { protocol = "tcp" ports = [ "80", "443", // http/https "30080" // ports opened to access the python API via NodePort ] } source_ranges = ["0.0.0.0/0"] target_tags = ["web"] }