feat: compute module

This commit is contained in:
2025-12-03 16:54:57 +01:00
parent e23e646c48
commit 1e8a026e41
7 changed files with 134 additions and 14 deletions

View File

@@ -62,7 +62,7 @@ resource "google_compute_firewall" "allow_frontend_to_backend" {
ports = ["8000"]
}
source_ranges = [var.frontend_cidr]
source_tags = ["frontend"]
target_tags = ["backend"]
}
@@ -75,6 +75,6 @@ resource "google_compute_firewall" "allow_backend_to_database" {
ports = ["3306"]
}
source_ranges = [var.backend_cidr]
source_tags = ["backend"]
target_tags = ["database"]
}