Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit f2e5b71

Browse files
authored
add subnet dependency (#16)
Signed-off-by: Tim Robinson <[email protected]>
1 parent f51bdbd commit f2e5b71

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ This module makes use of the output from other modules:
2323

2424
- Object Storage - github.com/cloud-native-toolkit/terraform-ibm-object-storage.git
2525
- VPC - github.com/cloud-native-toolkit/terraform-ibm-vpc.git
26+
- Subnet - github.com/cloud-native-toolkit/terraform-ibm-vpc.git
2627

2728
## Example usage
2829

2930
```hcl-terraform
3031
module "cluster" {
31-
source = "github.com/cloud-native-toolkit/terraform-ibm-ocp-vpn.git?ref=v1.0.0"
32+
source = "github.com/cloud-native-toolkit/terraform-ibm-ocp-vpc.git?ref=v1.2.5"
3233
3334
resource_group_name = var.resource_group_name
3435
region = var.region
@@ -39,8 +40,8 @@ module "cluster" {
3940
exists = var.cluster_exists
4041
name_prefix = var.name_prefix
4142
vpc_name = module.vpc.name
42-
vpc_subnet_count = module.vpc.subnet_count
43+
vpc_subnet_count = module.subnet.subnet_count
44+
vpc_subnets = module.subnet.subnets
4345
cos_id = module.cos.id
4446
}
4547
```
46-

0 commit comments

Comments
 (0)