forked from pierront/but3-iac
plan fonctionnel
This commit is contained in:
@@ -13,10 +13,10 @@ provider "google" {
|
||||
}
|
||||
|
||||
module "network" {
|
||||
source = "../../modules/network"
|
||||
project_name = var.project_name
|
||||
region = var.region
|
||||
frontend_cidr = var.frontend_cidr
|
||||
backend_cidr = var.backend_cidr
|
||||
database_cidr = var.database_cidr
|
||||
source = "../../modules/network"
|
||||
project_name = var.project_name
|
||||
region = var.region
|
||||
frontend_cidr = var.frontend_cidr
|
||||
backend_cidr = var.backend_cidr
|
||||
database_cidr = var.database_cidr
|
||||
}
|
||||
|
||||
9
terraform/environments/dev/terraform.tfstate
Normal file
9
terraform/environments/dev/terraform.tfstate
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.14.1",
|
||||
"serial": 1,
|
||||
"lineage": "da2290d8-f11d-ccf7-84e7-3247a89ead2c",
|
||||
"outputs": {},
|
||||
"resources": [],
|
||||
"check_results": null
|
||||
}
|
||||
@@ -16,26 +16,26 @@ variable "database_cidr" {
|
||||
default = "10.0.3.0/24"
|
||||
}
|
||||
|
||||
variable "project_name"{
|
||||
variable "project_name" {
|
||||
description = "name of the project"
|
||||
type = string
|
||||
default = "10.0.4.0/24"
|
||||
type = string
|
||||
default = "10.0.4.0/24"
|
||||
}
|
||||
|
||||
variable "region"{
|
||||
variable "region" {
|
||||
description = "region of the project"
|
||||
type = string
|
||||
default = "10.0.5.0/24"
|
||||
type = string
|
||||
default = "10.0.5.0/24"
|
||||
}
|
||||
|
||||
variable "project_id"{
|
||||
variable "project_id" {
|
||||
description = "id of the project"
|
||||
type = string
|
||||
default = "10.0.6.0/24"
|
||||
type = string
|
||||
default = "10.0.6.0/24"
|
||||
}
|
||||
|
||||
variable "ssh_source_ranges"{
|
||||
variable "ssh_source_ranges" {
|
||||
description = "range of sources"
|
||||
type = string
|
||||
default = "10.0.7.0/24"
|
||||
type = string
|
||||
default = "10.0.7.0/24"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user