Skip to content

Commit 0c1f39b

Browse files
committed
Fix test.
1 parent ecea803 commit 0c1f39b

File tree

21 files changed

+24
-30
lines changed

21 files changed

+24
-30
lines changed

examples/mig/autoscaler/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ group with an autoscaler.
2222
|------|-------------|
2323
| instance\_template\_self\_link | Self-link of instance template |
2424
| mig\_self\_link | Self-link for managed instance group |
25+
| region | The GCP region to create and test resources in |
2526

2627
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/mig/autoscaler/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ output "mig_self_link" {
2424
value = module.mig.self_link
2525
}
2626

27+
output "region" {
28+
description = "The GCP region to create and test resources in"
29+
value = var.region
30+
}

examples/mig/simple/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ managed instance group.
1818

1919
| Name | Description |
2020
|------|-------------|
21+
| region | The GCP region to create and test resources in |
2122
| self\_link | Self-link of the managed instance group |
2223

2324
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/mig/simple/outputs.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ output "self_link" {
1919
value = module.mig.self_link
2020
}
2121

22+
output "region" {
23+
description = "The GCP region to create and test resources in"
24+
value = var.region
25+
}

examples/mig_with_percent/simple/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ managed instance group.
1717

1818
| Name | Description |
1919
|------|-------------|
20+
| region | The GCP region to create and test resources in |
2021
| self\_link | Self-link of the managed instance group |
2122

2223
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

examples/mig_with_percent/simple/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ output "self_link" {
1818
description = "Self-link of the managed instance group"
1919
value = module.mig_with_percent.self_link
2020
}
21+
22+
output "region" {
23+
description = "The GCP region to create and test resources in"
24+
value = var.region
25+
}

test/fixtures/instance_template/additional_disks/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
module "instance_template_additional_disks" {
1818
source = "../../../../examples/instance_template/additional_disks"
1919
project_id = var.project_id
20-
region = var.region
2120
subnetwork = google_compute_subnetwork.main.name
2221
service_account = var.service_account
2322
}

test/fixtures/instance_template/additional_disks/variables.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ variable "project_id" {
1818
description = "The GCP project to use for integration tests"
1919
}
2020

21-
variable "region" {
22-
description = "The GCP region to create and test resources in"
23-
}
21+
2422

2523
variable "service_account" {
2624
default = null

test/fixtures/instance_template/simple/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
module "instance_template_simple" {
1818
source = "../../../../examples/instance_template/simple"
1919
project_id = var.project_id
20-
region = var.region
2120
subnetwork = google_compute_subnetwork.main.name
2221
service_account = var.service_account
2322
tags = ["foo", "bar"]

test/fixtures/instance_template/simple/variables.tf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ variable "project_id" {
1818
description = "The GCP project to use for integration tests"
1919
}
2020

21-
variable "region" {
22-
description = "The GCP region to create and test resources in"
23-
}
21+
2422

2523
variable "service_account" {
2624
default = null

0 commit comments

Comments
 (0)