oui
This commit is contained in:
parent
733f57e5b7
commit
6fb32e15f6
@ -8,7 +8,7 @@ terraform {
|
|||||||
}
|
}
|
||||||
|
|
||||||
provider "google" {
|
provider "google" {
|
||||||
project = var.project_id
|
project = var.name
|
||||||
region = var.region
|
region = var.region
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,6 +23,6 @@ module "network" {
|
|||||||
cidr_range = var.cidr_range
|
cidr_range = var.cidr_range
|
||||||
frontend_cidr = var.frontend_cidr
|
frontend_cidr = var.frontend_cidr
|
||||||
backend_cidr = var.backend_cidr
|
backend_cidr = var.backend_cidr
|
||||||
database_cidr = var.database
|
database_cidr = var.database_cidr
|
||||||
ssh_source_ranges = var.ssh_source_ranges
|
ssh_source_ranges = var.ssh_source_ranges
|
||||||
}
|
}
|
@ -1,4 +1,10 @@
|
|||||||
variable "project_name" {
|
variable "project_name" {
|
||||||
|
description = "nom du projet"
|
||||||
|
type = string
|
||||||
|
default = "tp-1-docker"
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "project_id" {
|
||||||
description = "ID du projet"
|
description = "ID du projet"
|
||||||
type = string
|
type = string
|
||||||
default = "tp-1-docker"
|
default = "tp-1-docker"
|
||||||
|
Loading…
Reference in New Issue
Block a user