test network
This commit is contained in:
parent
042bfd5c24
commit
f8ffcd55b7
@ -51,7 +51,7 @@ resource "google_compute_firewall" "allow-ssh" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_firewall" "front-to-back" {
|
resource "google_compute_firewall" "front-to-back" {
|
||||||
name = "front-to_back"
|
name = "front-to-back"
|
||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
|
|
||||||
allow {
|
allow {
|
||||||
@ -63,8 +63,8 @@ resource "google_compute_firewall" "front-to-back" {
|
|||||||
target_tags = ["backend"]
|
target_tags = ["backend"]
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "google_compute_firewall" "back_to_db" {
|
resource "google_compute_firewall" "back-to-db" {
|
||||||
name = "back_to_db"
|
name = "back-to-db"
|
||||||
network = google_compute_network.vpc.id
|
network = google_compute_network.vpc.id
|
||||||
|
|
||||||
allow {
|
allow {
|
||||||
|
Loading…
Reference in New Issue
Block a user