network
This commit is contained in:
parent
04c4702a02
commit
058c767829
@ -11,7 +11,7 @@ resource "google_compute_instance" "vm-front" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = google_compute_subnetwork.subnet1.id
|
subnetwork = google_compute_network.subnet1.id
|
||||||
access_config {} # IP publique
|
access_config {} # IP publique
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ resource "google_compute_instance" "vm-back" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = google_compute_subnetwork.subnet2.id
|
subnetwork = google_compute_network.subnet2.id
|
||||||
access_config {} # IP publique
|
access_config {} # IP publique
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ resource "google_compute_instance" "vm-database" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = google_compute_subnetwork.subnet3.id
|
subnetwork = google_compute_network.subnet3.id
|
||||||
access_config {} # IP publique
|
access_config {} # IP publique
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user