Files
2023-03-30 06:27:25 -07:00

14 lines
251 B
HCL

resource "google_compute_firewall" "allow_http" {
name = "allow-http"
project = var.project_id
network = "default"
allow {
protocol = "tcp"
ports = ["80"]
}
target_tags = ["http-server"]
source_ranges = ["0.0.0.0/0"]
}