Skip to content

Commit cec0f2b

Browse files
denissimonovskiDenis Simonovski
andauthored
chore: remove redundant network, subnetwork and subnetwork_project variables from examples (#186)
* remove redundant network, subnetwork and subnetwork_project variables * update docs and examples Co-authored-by: Denis Simonovski <[email protected]>
1 parent daa4d2a commit cec0f2b

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

examples/mig/autoscaler/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ module "mig" {
4040
project_id = var.project_id
4141
region = var.region
4242
hostname = "mig-autoscaler"
43-
subnetwork = var.subnetwork
4443
autoscaling_enabled = var.autoscaling_enabled
4544
min_replicas = var.min_replicas
4645
autoscaling_cpu = var.autoscaling_cpu

examples/mig/full/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ module "instance_template" {
6161
module "mig" {
6262
source = "../../../modules/mig"
6363
project_id = var.project_id
64-
network = var.network
65-
subnetwork = var.subnetwork
66-
subnetwork_project = var.subnetwork_project
6764
hostname = var.hostname
6865
region = var.region
6966
instance_template = module.instance_template.self_link

examples/mig/healthcheck/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ module "instance_template" {
7070
module "mig" {
7171
source = "../../../modules/mig"
7272
project_id = var.project_id
73-
subnetwork = google_compute_subnetwork.main.name
7473
instance_template = module.instance_template.self_link
7574
region = var.region
7675
autoscaling_enabled = "true"

0 commit comments

Comments
 (0)