iam
This commit is contained in:
parent
e02ee8673a
commit
b3c485a7bc
@ -36,6 +36,7 @@ resource "google_compute_instance" "vmbackend" {
|
|||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = var.backend_subnet_id
|
subnetwork = var.backend_subnet_id
|
||||||
|
access_config {} # IP publique
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = ["backend", "ssh"]
|
tags = ["backend", "ssh"]
|
||||||
@ -59,6 +60,7 @@ resource "google_compute_instance" "vmdatabase" {
|
|||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = var.database_subnet_id
|
subnetwork = var.database_subnet_id
|
||||||
|
access_config {} # IP publique
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = ["database", "ssh"]
|
tags = ["database", "ssh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user