forked from pierront/but3-iac
correction error
This commit is contained in:
@@ -39,7 +39,7 @@ resource "google_compute_instance" "vm_frontend" {
|
|||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
access_config {} # IP publique
|
access_config {} # IP publique
|
||||||
subnetwork = google_compute_subnetwork.subnet.id
|
subnetwork = var.frontend_subnet_id
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = ["frontend", "ssh"]
|
tags = ["frontend", "ssh"]
|
||||||
@@ -64,7 +64,7 @@ resource "google_compute_instance" "vm_backend" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = google_compute_subnetwork.subnet.id
|
subnetwork = var.backend_subnet_id
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = ["backend", "ssh"]
|
tags = ["backend", "ssh"]
|
||||||
@@ -89,7 +89,7 @@ resource "google_compute_instance" "vm_database" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = google_compute_subnetwork.subnet.id
|
subnetwork = var.database_subnet_id
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = ["database", "ssh"]
|
tags = ["database", "ssh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user