forked from pierront/but3-iac
presque fini (je pense)
This commit is contained in:
@@ -25,11 +25,11 @@ resource "google_compute_subnetwork" "database_network" {
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "ssh_firewall" {
|
||||
name = "${var.project_name}-ssh"
|
||||
network = google_compute_network.vpc.name
|
||||
direction = "INGRESS"
|
||||
priority = 1000
|
||||
target_tags = ["ssh"]
|
||||
name = "${var.project_name}-ssh"
|
||||
network = google_compute_network.vpc.name
|
||||
direction = "INGRESS"
|
||||
priority = 1000
|
||||
target_tags = ["ssh"]
|
||||
source_ranges = [var.ssh_source_ranges]
|
||||
|
||||
allow {
|
||||
@@ -39,11 +39,11 @@ resource "google_compute_firewall" "ssh_firewall" {
|
||||
}
|
||||
|
||||
resource "google_compute_firewall" "frontend_firewall" {
|
||||
name = "${var.project_name}-frontend-http-https"
|
||||
network = google_compute_network.vpc.name
|
||||
direction = "INGRESS"
|
||||
priority = 1000
|
||||
target_tags = ["frontend"]
|
||||
name = "${var.project_name}-frontend-http-https"
|
||||
network = google_compute_network.vpc.name
|
||||
direction = "INGRESS"
|
||||
priority = 1000
|
||||
target_tags = ["frontend"]
|
||||
source_ranges = ["0.0.0.0/0"]
|
||||
|
||||
allow {
|
||||
|
||||
Reference in New Issue
Block a user