forked from pierront/but3-iac
Update
This commit is contained in:
@@ -19,6 +19,17 @@ provider "google" {
|
||||
|
||||
provider "local" {}
|
||||
|
||||
module "network" {
|
||||
source = "../../modules/network"
|
||||
|
||||
project_name = var.project_id
|
||||
region = var.region
|
||||
frontend_cidr = "10.0.1.0/24"
|
||||
backend_cidr = "10.0.2.0/24"
|
||||
database_cidr = "10.0.3.0/24"
|
||||
ssh_source_ranges = "34.79.226.15/32"
|
||||
}
|
||||
|
||||
module "iam" {
|
||||
source = "../../modules/iam"
|
||||
|
||||
@@ -41,14 +52,3 @@ module "compute" {
|
||||
ssh_pub_key = var.ssh_pub_key
|
||||
service_account_email = module.iam.service_account_email
|
||||
}
|
||||
|
||||
module "network" {
|
||||
source = "../../modules/network"
|
||||
|
||||
project_name = var.project_id
|
||||
region = var.region
|
||||
frontend_cidr = "10.0.1.0/24"
|
||||
backend_cidr = "10.0.2.0/24"
|
||||
database_cidr = "10.0.3.0/24"
|
||||
ssh_source_ranges = "34.79.226.15/32"
|
||||
}
|
||||
Reference in New Issue
Block a user