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