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" {
29
29
30
30
# New postgresql instance pointing to the backup instance
31
31
module "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
33
36
resource_group_id = module. resource_group . resource_group_id
34
37
name = " ${ var . prefix } -postgres-restored"
35
38
pg_version = var. pg_version
Original file line number Diff line number Diff line change @@ -15,7 +15,10 @@ module "resource_group" {
15
15
# #############################################################################
16
16
17
17
module "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
19
22
resource_group_id = module. resource_group . resource_group_id
20
23
name = " ${ var . prefix } -data-store"
21
24
pg_version = var. pg_version
Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ module "cbr_zone" {
102
102
# #############################################################################
103
103
104
104
module "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
106
109
resource_group_id = module. resource_group . resource_group_id
107
110
name = " ${ var . prefix } -postgres"
108
111
region = var. region
Original file line number Diff line number Diff line change @@ -54,7 +54,10 @@ module "cbr_zone" {
54
54
# #############################################################################
55
55
56
56
module "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
58
61
resource_group_id = module. resource_group . resource_group_id
59
62
name = " ${ var . prefix } -postgres"
60
63
region = var. region
Original file line number Diff line number Diff line change @@ -12,7 +12,10 @@ module "resource_group" {
12
12
13
13
# New ICD postgresql database instance pointing to a PITR time
14
14
module "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
16
19
resource_group_id = module. resource_group . resource_group_id
17
20
name = " ${ var . prefix } -postgres-pitr"
18
21
region = var. region
You can’t perform that action at this time.
0 commit comments