Skip to content

Commit 96b085b

Browse files
committed
ncc: add descriptions for preset_topology and policy_mode
1 parent a590de1 commit 96b085b

File tree

3 files changed

+9
-33
lines changed

3 files changed

+9
-33
lines changed

examples/network_connectivity_center/main.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
*/
1616

1717
module "network_connectivity_center" {
18-
source = "terraform-google-modules/network/google//modules/network-connectivity-center"
19-
version = "~> 13.0"
18+
# source = "terraform-google-modules/network/google//modules/network-connectivity-center"
19+
# version = "~> 13.0"
20+
source = "../../modules/network-connectivity-center"
21+
2022

2123
project_id = var.project_id
2224
ncc_hub_name = var.ncc_hub_name
@@ -73,8 +75,9 @@ module "network_connectivity_center" {
7375
}
7476

7577
module "network_connectivity_center_star" {
76-
source = "terraform-google-modules/network/google//modules/network-connectivity-center"
77-
version = "~> 13.0"
78+
# source = "terraform-google-modules/network/google//modules/network-connectivity-center"
79+
# version = "~> 13.0"
80+
source = "../../modules/network-connectivity-center"
7881

7982
project_id = var.project_id
8083
ncc_hub_name = "${var.ncc_hub_name}_star"

examples/network_connectivity_center/versions.tf

Lines changed: 0 additions & 27 deletions
This file was deleted.

modules/network-connectivity-center/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ variable "ncc_hub_labels" {
3636
}
3737

3838
variable "ncc_hub_preset_topology" {
39-
description = "The topology implemented in the hub"
39+
description = "The topology implemented in the hub. Type must be one of `STAR` or `MESH`."
4040
type = string
4141
default = null
4242
}
4343

4444
variable "ncc_hub_policy_mode" {
45-
description = "The policy mode of the hub"
45+
description = "The policy mode of the hub. Type must be one of `PRESET` or `CUSTOM`."
4646
type = string
4747
default = "PRESET"
4848
}

0 commit comments

Comments
 (0)