fix
This commit is contained in:
parent
75e26b2c72
commit
1336027eca
@ -13,7 +13,7 @@ variable "project_id" {
|
|||||||
variable "region" {
|
variable "region" {
|
||||||
description = "Région du projet"
|
description = "Région du projet"
|
||||||
type = string
|
type = string
|
||||||
default = "europe-west4"
|
default = "europe-west9"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "frontend_cidr" {
|
variable "frontend_cidr" {
|
||||||
|
@ -59,6 +59,8 @@ resource "google_compute_instance" "database" {
|
|||||||
|
|
||||||
network_interface {
|
network_interface {
|
||||||
subnetwork = var.database_subnet_id
|
subnetwork = var.database_subnet_id
|
||||||
|
access_config {}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = ["database", "ssh"]
|
tags = ["database", "ssh"]
|
||||||
|
@ -7,7 +7,7 @@ variable "instance_type" {
|
|||||||
variable "zone" {
|
variable "zone" {
|
||||||
description = "zone des instances"
|
description = "zone des instances"
|
||||||
type = string
|
type = string
|
||||||
default = "europe-west4"
|
default = "europe-west9-c"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "frontend_subnet_id" {
|
variable "frontend_subnet_id" {
|
||||||
|
Loading…
Reference in New Issue
Block a user