From a9bd6b507705b12f809db97bd1b209d875b3aeec Mon Sep 17 00:00:00 2001 From: kenechukwu akabueze Date: Tue, 21 May 2024 09:05:33 -0400 Subject: [PATCH] Revert "testing vpc" --- environments/dev/main.tf | 6 ------ modules/vpc/main.tf | 15 --------------- 2 files changed, 21 deletions(-) diff --git a/environments/dev/main.tf b/environments/dev/main.tf index 5c8bdc5623..a28b76be75 100644 --- a/environments/dev/main.tf +++ b/environments/dev/main.tf @@ -38,9 +38,3 @@ module "firewall" { project = "${var.project}" subnet = "${module.vpc.subnet}" } - -# module "vpc2" { -# source = "../../modules/vpc" -# project = "${var.project}" -# env = "${local.env}" -# } \ No newline at end of file diff --git a/modules/vpc/main.tf b/modules/vpc/main.tf index 4335eb23ee..8fce4ab20d 100644 --- a/modules/vpc/main.tf +++ b/modules/vpc/main.tf @@ -32,18 +32,3 @@ module "vpc" { "${var.env}-subnet-01" = [] } } - -module "vpc2" { - source = "terraform-google-modules/network/google" - version = "3.3.0" - - project_id = "${var.project}" - network_name = "${var.env}-ken" - subnets = [ - { - subnet_name = "${var.env}-subnet-ken" - subnet_ip = "10.${var.env == "dev" ? 10 : 20}.10.0/16" - subnet_region = "us-west2" - }, - ] -} \ No newline at end of file