File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ data "ibm_database_backups" "backup_database" {
1616
1717# New mongo db instance pointing to the backup instance
1818module "restored_icd_mongodb" {
19- source = " ../.."
19+ source = " ../.."
20+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
21+ # source = "terraform-ibm-modules/icd-mongodb/ibm/"
22+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
2023 resource_group_id = module. resource_group . resource_group_id
2124 name = " ${ var . prefix } -mongodb-restored"
2225 region = var. region
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ module "resource_group" {
1515# #############################################################################
1616
1717module "database" {
18- source = " ../.."
18+ source = " ../.."
19+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
20+ # source = "terraform-ibm-modules/icd-mongodb/ibm"
21+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
1922 resource_group_id = module. resource_group . resource_group_id
2023 name = " ${ var . prefix } -data-store"
2124 region = var. region
Original file line number Diff line number Diff line change @@ -104,7 +104,10 @@ module "cbr_zone" {
104104# #############################################################################
105105
106106module "icd_mongodb" {
107- source = " ../.."
107+ source = " ../.."
108+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
109+ # source = "terraform-ibm-modules/icd-mongodb/ibm"
110+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
108111 resource_group_id = module. resource_group . resource_group_id
109112 name = " ${ var . prefix } -mongodb"
110113 mongodb_version = var. mongodb_version
Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ module "cbr_zone" {
5454# #############################################################################
5555
5656module "mongodb" {
57- source = " ../../modules/fscloud"
57+ source = " ../../modules/fscloud"
58+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
59+ # source = "terraform-ibm-modules/icd-mongodb/ibm//modules/fscloud"
60+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
5861 resource_group_id = module. resource_group . resource_group_id
5962 name = " ${ var . prefix } -mongodb"
6063 region = var. region
You can’t perform that action at this time.
0 commit comments