Skip to content

Instantly share code, notes, and snippets.

@danielporto
Created November 23, 2017 17:55
Show Gist options
  • Save danielporto/f73466f835f9fc00281ff823826ed0d8 to your computer and use it in GitHub Desktop.
Save danielporto/f73466f835f9fc00281ff823826ed0d8 to your computer and use it in GitHub Desktop.
resource "google_compute_firewall" "frontend_rules" {
name = "default"
network = "default"
allow {
protocol = "icmp"
}
allow {
protocol = "tcp"
ports = ["80", "443"]
}
source_tags = ["web"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment