forked from pierront/but3-iac
modif de DEV
This commit is contained in:
@@ -10,12 +10,8 @@ terraform {
|
||||
provider "google" {
|
||||
project = var.projet_name
|
||||
region = var.region
|
||||
zone = var.zone
|
||||
}
|
||||
|
||||
# -------------------------
|
||||
# MODULE NETWORK
|
||||
# -------------------------
|
||||
module "network" {
|
||||
source = "../../modules/network"
|
||||
|
||||
@@ -23,14 +19,11 @@ module "network" {
|
||||
region = var.region
|
||||
}
|
||||
|
||||
# -------------------------
|
||||
# MODULE COMPUTE
|
||||
# -------------------------
|
||||
module "compute" {
|
||||
source = "../../modules/compute"
|
||||
|
||||
projet_name = var.projet_name
|
||||
zone = var.zone
|
||||
projet_name = var.projet_name
|
||||
zone = "europe-west9-a"
|
||||
instance_type = var.instance_type
|
||||
os_login = var.os_login
|
||||
|
||||
|
||||
@@ -8,12 +8,17 @@ variable "region" {
|
||||
default = "europe-west9"
|
||||
}
|
||||
|
||||
variable "zone" {
|
||||
type = string
|
||||
default = "europe-west9-b"
|
||||
}
|
||||
|
||||
variable "ssh_source_ranges" {
|
||||
type = list(string)
|
||||
default = ["0.0.0.0/0"]
|
||||
}
|
||||
|
||||
variable "instance_type" {
|
||||
type = string
|
||||
default = "e2-small"
|
||||
}
|
||||
|
||||
variable "os_login" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
Reference in New Issue
Block a user