Skip to content

Commit 7cd048c

Browse files
Update the validator in multivpc module (GoogleCloudPlatform#5156)
1 parent 6e371ec commit 7cd048c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/network/multivpc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This module accomplishes the following:
44

5-
* Creates 2 to 8 [VPC networks][vpc]
5+
* Creates 1 to 8 [VPC networks][vpc]
66
* Each VPC contains exactly 1 subnetwork
77
* Each subnetwork contains distinct IP address ranges
88
* Outputs the `additional_networks` parameter, which is compatible with Slurm

modules/network/multivpc/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ ghpc:
2222
- validator: range
2323
inputs:
2424
vars: [network_count]
25-
min: 2
25+
min: 1
2626
max: 8
27-
error_message: "The 'network_count' must be between 2 and 8. Use the standard Toolkit module at 'modules/network/vpc' for count = 1."
27+
error_message: "The 'network_count' must be between 1 and 8."

0 commit comments

Comments
 (0)