google ta mere
This commit is contained in:
@@ -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" {
|
||||
|
@@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user