Commit ea9b4129 authored by Adam Robinson's avatar Adam Robinson
Browse files

limit ssh to google networks for cloud shell

parent af4d1fd8
......@@ -35,7 +35,27 @@ resource "google_compute_firewall" "datalab-network-allow-ssh" {
priority = 1000
direction = "INGRESS"
source_ranges = [ "0.0.0.0/0" ]
source_ranges = [
"35.190.247.0/24",
"64.233.160.0/19",
"66.102.0.0/20",
"66.249.80.0/20",
"72.14.192.0/18",
"74.125.0.0/16",
"108.177.8.0/21",
"173.194.0.0/16",
"209.85.128.0/17",
"216.58.192.0/19",
"216.239.32.0/19",
"172.217.0.0/19",
"172.217.32.0/20",
"172.217.128.0/19",
"172.217.160.0/20",
"172.217.192.0/19",
"108.177.96.0/19",
"35.191.0.0/16",
"130.211.0.0/22",
]
allow {
protocol = "tcp"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment