File tree Expand file tree Collapse file tree 5 files changed +20
-5
lines changed
Expand file tree Collapse file tree 5 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ data "ibm_database_backups" "backup_database" {
2929
3030# New postgresql instance pointing to the backup instance
3131module "restored_icd_postgresql" {
32- source = " ../.."
32+ source = " ../.."
33+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
34+ # source = "terraform-ibm-modules/icd-postgresql/ibm"
35+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
3336 resource_group_id = module. resource_group . resource_group_id
3437 name = " ${ var . prefix } -postgres-restored"
3538 pg_version = var. pg_version
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-postgresql/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 pg_version = var. pg_version
Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ module "cbr_zone" {
102102# #############################################################################
103103
104104module "icd_postgresql" {
105- source = " ../../"
105+ source = " ../../"
106+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
107+ # source = "terraform-ibm-modules/icd-postgresql/ibm"
108+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
106109 resource_group_id = module. resource_group . resource_group_id
107110 name = " ${ var . prefix } -postgres"
108111 region = var. region
Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ module "cbr_zone" {
5454# #############################################################################
5555
5656module "postgresql_db" {
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-postgresql/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 } -postgres"
6063 region = var. region
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ module "resource_group" {
1212
1313# New ICD postgresql database instance pointing to a PITR time
1414module "postgresql_db_pitr" {
15- source = " ../.."
15+ source = " ../.."
16+ # remove the above line and uncomment the below 2 lines to consume the module from the registry
17+ # source = "terraform-ibm-modules/icd-postgresql/ibm"
18+ # version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
1619 resource_group_id = module. resource_group . resource_group_id
1720 name = " ${ var . prefix } -postgres-pitr"
1821 region = var. region
You can’t perform that action at this time.
0 commit comments