File tree Expand file tree Collapse file tree 6 files changed +29
-8
lines changed
Expand file tree Collapse file tree 6 files changed +29
-8
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,10 @@ locals {
166166}
167167
168168module "ocp_base" {
169- source = " ../.."
169+ source = " ../.."
170+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
171+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm"
172+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
170173 cluster_name = var. prefix
171174 resource_group_id = module. resource_group . resource_group_id
172175 region = var. region
Original file line number Diff line number Diff line change @@ -164,7 +164,10 @@ locals {
164164}
165165
166166module "ocp_base" {
167- source = " ../.."
167+ source = " ../.."
168+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
169+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm"
170+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
168171 cluster_name = var. prefix
169172 resource_group_id = module. resource_group . resource_group_id
170173 region = var. region
@@ -213,8 +216,11 @@ module "worker_pool" {
213216# #######################################################################################################################
214217
215218module "kube_audit" {
216- depends_on = [module . ocp_base ] # Wait for the cluster to completely deploy.
217- source = " ../../modules/kube-audit"
219+ depends_on = [module . ocp_base ] # Wait for the cluster to completely deploy.
220+ source = " ../../modules/kube-audit"
221+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
222+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm//modules/kube-audit"
223+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
218224 cluster_id = module. ocp_base . cluster_id
219225 cluster_resource_group_id = module. resource_group . resource_group_id
220226 audit_log_policy = " WriteRequestBodies"
Original file line number Diff line number Diff line change @@ -69,7 +69,10 @@ locals {
6969}
7070
7171module "ocp_base" {
72- source = " ../.."
72+ source = " ../.."
73+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
74+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm"
75+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
7376 resource_group_id = module. resource_group . resource_group_id
7477 region = var. region
7578 tags = var. resource_tags
Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ locals {
7575}
7676
7777module "ocp_base" {
78- source = " ../.."
78+ source = " ../.."
79+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
80+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm"
81+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
7982 resource_group_id = module. resource_group . resource_group_id
8083 region = var. region
8184 tags = var. resource_tags
Original file line number Diff line number Diff line change @@ -95,7 +95,10 @@ module "custom_sg" {
9595
9696
9797module "ocp_base" {
98- source = " ../.."
98+ source = " ../.."
99+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
100+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm"
101+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
99102 resource_group_id = module. resource_group . resource_group_id
100103 region = var. region
101104 tags = var. resource_tags
Original file line number Diff line number Diff line change @@ -136,7 +136,10 @@ module "ocp_base_cluster_1" {
136136}
137137
138138module "ocp_base_cluster_2" {
139- source = " ../.."
139+ source = " ../.."
140+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
141+ # source = "terraform-ibm-modules/base-ocp-vpc/ibm"
142+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
140143 cluster_name = " ${ var . prefix } -cluster-2"
141144 resource_group_id = module. resource_group . resource_group_id
142145 region = var. region
You can’t perform that action at this time.
0 commit comments