terraform/environments/dev/main.tf

38 lines
610 B
Terraform
Raw Normal View History

2024-12-04 17:23:22 +01:00
terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 6.0"
}
}
}
provider "google" {
project = var.project_id
region = var.region
}
module "network" {
source = "./modules/network"
# Variables d'entrée
project_name = var.project_name
region = var.region
}
module "iam" {
source = "./modules/iam"
# Variables d'entrée
project_name = var.project_name
region = var.region
}
module "compute" {
source = "./modules/compute"
# Variables d'entrée
project_name = var.project_name
region = var.region
}