Skip to content

Commit c781306

Browse files
committed
Add default value for the subnetwork var, fix minor readme issues
1 parent 57365a8 commit c781306

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

examples/automatic-labelling-from-repository/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ principal email address of the account responsible for causing the events.
99

1010
## Usage
1111

12-
To provision this example, populate `terraform.tfvars` with the [required variables][variables] and run the following commands within
12+
To provision this example, populate `terraform.tfvars` with the [required variables](#inputs) and run the following commands within
1313
this directory:
1414

1515
- `terraform init` to initialize the directory
@@ -72,4 +72,3 @@ following APIs enabled:
7272
[repository-function-submodule-requirements]: ../../modules/repository-function/README.md#requirements
7373
[repository-function-submodule]: ../../modules/repository-function
7474
[terraform-site]: https://terraform.io/
75-
[variables]: ./variables.tf

examples/automatic-labelling-from-repository/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ variable "zone" {
3232
variable "subnetwork" {
3333
type = string
3434
description = "The name or self_link of the subnetwork to create compute instance in."
35-
default = ""
35+
default = "default"
3636
}

examples/delete-vms-without-cmek/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ which responds to Compute VM creation events by deleting any VM instances create
88

99
## Usage
1010

11-
To provision this example, populate `terraform.tfvars` with the [required variables][variables] and run the following commands within
11+
To provision this example, populate `terraform.tfvars` with the [required variables](#inputs) and run the following commands within
1212
this directory:
1313

1414
- `terraform init` to initialize the directory
@@ -63,4 +63,3 @@ following APIs enabled:
6363
[root-module-requirements]: ../../README.md#requirements
6464
[root-module]: ../..
6565
[terraform-site]: https://terraform.io/
66-
[variables]: ./variables.tf

0 commit comments

Comments
 (0)