t
This commit is contained in:
parent
7a4925cc7b
commit
de0f432aff
@ -10,7 +10,7 @@ resource "google_compute_instance" "vm-front" {
|
||||
}
|
||||
}
|
||||
network_interface {
|
||||
subnetwork = google_compute_network.frontend.id
|
||||
subnetwork = google_compute_network.subnet_front.id
|
||||
access_config {} # IP publique
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ resource "google_compute_instance" "vm-back" {
|
||||
}
|
||||
|
||||
network_interface {
|
||||
subnetwork = google_compute_network.backend.id
|
||||
subnetwork = google_compute_network.subnet_back.id
|
||||
access_config {} # IP publique
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ resource "google_compute_instance" "vm-database" {
|
||||
}
|
||||
|
||||
network_interface {
|
||||
subnetwork = google_compute_network.database.id
|
||||
subnetwork = google_compute_network.subnet_db.id
|
||||
access_config {} # IP publique
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
variable "instance_type" {
|
||||
description = "type d'instance"
|
||||
type = string
|
||||
default = ""
|
||||
default = "e2-micro"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
|
Loading…
Reference in New Issue
Block a user