tp_cloud/terraform/environments/dev/main.tf

23 lines
408 B
HCL

terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 6.0"
}
}
}
provider "google" {
project = var.project_id
region = var.region
}
module "network" {
source = "../../modules/network"
project_name = var.project_name
region = var.region
frontend_cidr = "10.0.1.0/24"
backend_cidr = "10.0.2.0/24"
database_cidr = "10.0.3.0/24"
}