google ta mere

This commit is contained in:
SimonSayeBabu
2024-12-06 14:42:49 +01:00
parent 0ebc56b283
commit 93bb97f504
5 changed files with 118 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ resource "google_compute_firewall" "allow-http-https" {
}
source_ranges = ["0.0.0.0/0"]
target_tags = ["web"]
target_tags = ["frontend"]
}
resource "google_compute_firewall" "allow-ssh" {

View File

@@ -0,0 +1,11 @@
output "id_vpc" {
value = google_compute_network.vpc.id
}
output "id_subnetwork" {
value = {
frontend = google_compute_subnetwork.frontend.id,
backend = google_compute_subnetwork.backend.id,
database = google_compute_subnetwork.database.id
}
}