get rid of the blocking rule

parent 18679c8d
...@@ -71,41 +71,4 @@ data "google_iam_policy" "dr-sa-access" { ...@@ -71,41 +71,4 @@ data "google_iam_policy" "dr-sa-access" {
# ports = ["5432"] # ports = ["5432"]
# } # }
#} #}
#
#resource "google_compute_firewall" "block-all-gitlab-analysis" {
# name = "block-all-gitlab-analysis"
# description = "block all traffic from gitlab-analysis"
# network = "${var.network_env}"
# priority = 65000
#
# source_ranges = [
# "10.168.0.0/20",
# "10.146.0.0/20",
# "10.138.0.0/20",
# "10.158.0.0/20",
# "10.164.0.0/20",
# "10.140.0.0/20",
# "10.166.0.0/20",
# "10.148.0.0/20",
# "10.150.0.0/20",
# "10.132.0.0/20",
# "10.154.0.0/20",
# "10.156.0.0/20",
# "10.152.0.0/20",
# "10.160.0.0/20",
# "10.142.0.0/20",
# "10.128.0.0/20",
# "10.170.0.0/20",
# "10.162.0.0/20 ",
# ]
#
# target_tags = [
# "${var.network_env}",
# ]
#
# deny {
# protocol = "*"
# ports = ["*"]
# }
#}
...@@ -28,40 +28,3 @@ resource "google_compute_firewall" "allow-postgres-gitlab-analysis" { ...@@ -28,40 +28,3 @@ resource "google_compute_firewall" "allow-postgres-gitlab-analysis" {
ports = ["5432"] ports = ["5432"]
} }
} }
resource "google_compute_firewall" "block-all-gitlab-analysis" {
name = "block-all-gitlab-analysis"
description = "block all traffic from gitlab-analysis"
network = "${var.network_env}"
priority = 65000
source_ranges = [
"10.168.0.0/20",
"10.146.0.0/20",
"10.138.0.0/20",
"10.158.0.0/20",
"10.164.0.0/20",
"10.140.0.0/20",
"10.166.0.0/20",
"10.148.0.0/20",
"10.150.0.0/20",
"10.132.0.0/20",
"10.154.0.0/20",
"10.156.0.0/20",
"10.152.0.0/20",
"10.160.0.0/20",
"10.142.0.0/20",
"10.128.0.0/20",
"10.170.0.0/20",
"10.162.0.0/20 ",
]
target_tags = [
"${var.network_env}",
]
deny {
protocol = "*"
ports = ["*"]
}
}
Markdown is supported
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