inshBouddah

This commit is contained in:
2024-12-06 14:42:39 +01:00
parent 0811717b23
commit 6ee0abf341
6 changed files with 126 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ resource "google_compute_firewall" "allow_http" {
}
source_ranges = ["0.0.0.0/0"]
target_tags = ["web"]
target_tags = ["frontend"]
}
resource "google_compute_firewall" "allow_https" {
@@ -51,7 +51,7 @@ resource "google_compute_firewall" "allow_https" {
}
source_ranges = ["0.0.0.0/0"]
target_tags = ["web"]
target_tags = ["frontend"]
}
resource "google_compute_firewall" "allow_ssh" {
@@ -77,7 +77,7 @@ resource "google_compute_firewall" "allow_frontend_to_backend" {
}
source_ranges = [var.frontend_cidr]
target_tags = ["web"]
target_tags = ["backend"]
}
resource "google_compute_firewall" "allow-sql" {
@@ -90,5 +90,5 @@ resource "google_compute_firewall" "allow-sql" {
}
source_ranges = [var.backend_cidr]
target_tags = ["web"]
target_tags = ["database"]
}