forked from pierront/but3-iac
WIP: fix compute and network terraform plan
This commit is contained in:
@@ -15,8 +15,8 @@ provider "google" {
|
|||||||
module "network" {
|
module "network" {
|
||||||
source = "../../modules/network"
|
source = "../../modules/network"
|
||||||
|
|
||||||
project_name = var.project_name
|
|
||||||
project_id = var.project_id
|
project_id = var.project_id
|
||||||
|
project_name = var.project_name
|
||||||
region = var.region
|
region = var.region
|
||||||
frontend_cidr = var.frontend_cidr
|
frontend_cidr = var.frontend_cidr
|
||||||
backend_cidr = var.backend_cidr
|
backend_cidr = var.backend_cidr
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
|
variable "project_id" {
|
||||||
|
type = string
|
||||||
|
}
|
||||||
|
|
||||||
variable "project_name" {
|
variable "project_name" {
|
||||||
description = "Nom du projet utilisé pour préfixer les ressources"
|
description = "Nom du projet utilisé pour préfixer les ressources"
|
||||||
type = string
|
type = string
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "project_id" {
|
|
||||||
type = string
|
|
||||||
}
|
|
||||||
|
|
||||||
variable "region" {
|
variable "region" {
|
||||||
description = "Région GCP où seront créés les sous-réseaux"
|
description = "Région GCP où seront créés les sous-réseaux"
|
||||||
type = string
|
type = string
|
||||||
|
|||||||
Reference in New Issue
Block a user