forked from pierront/but3-iac
WIP: fix compute and network terraform plan
This commit is contained in:
@@ -8,7 +8,7 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provider "google" {
|
provider "google" {
|
||||||
project = var.project_id
|
project = var.project_name
|
||||||
region = var.region
|
region = var.region
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,23 +7,23 @@ variable "project_name" {
|
|||||||
variable "region" {
|
variable "region" {
|
||||||
description = "region de l'instance"
|
description = "region de l'instance"
|
||||||
type = string
|
type = string
|
||||||
default = "europe-west9b"
|
default = "europe-west1-b"
|
||||||
}
|
|
||||||
|
|
||||||
variable "backend_cidr" {
|
|
||||||
description = "cidr du backend"
|
|
||||||
type = string
|
|
||||||
default = "10.0.2.0/24"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "frontend_cidr" {
|
variable "frontend_cidr" {
|
||||||
description = "cidr du frontend"
|
description = "CIDR for frontend subnet"
|
||||||
type = string
|
type = string
|
||||||
default = "10.0.1.0/24"
|
default = "10.0.1.0/24"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "backend_cidr" {
|
||||||
|
description = "CIDR for backend subnet"
|
||||||
|
type = string
|
||||||
|
default = "10.0.2.0/24"
|
||||||
|
}
|
||||||
|
|
||||||
variable "database_cidr" {
|
variable "database_cidr" {
|
||||||
description = "cidr de la DB"
|
description = "CIDR for database subnet"
|
||||||
type = string
|
type = string
|
||||||
default = "10.0.3.0/24"
|
default = "10.0.3.0/24"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user