Skip to content

Commit

Permalink
Merge pull request #3 from keneobum881/revert-2-feature
Browse files Browse the repository at this point in the history
Revert "testing vpc"
  • Loading branch information
keneobum881 authored May 21, 2024
2 parents df9dccb + a9bd6b5 commit 262fc82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
6 changes: 0 additions & 6 deletions environments/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,3 @@ module "firewall" {
project = "${var.project}"
subnet = "${module.vpc.subnet}"
}

# module "vpc2" {
# source = "../../modules/vpc"
# project = "${var.project}"
# env = "${local.env}"
# }
15 changes: 0 additions & 15 deletions modules/vpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
]
}

0 comments on commit 262fc82

Please sign in to comment.