Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/backup/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ data "ibm_database_backups" "backup_database" {

# New postgresql instance pointing to the backup instance
module "restored_icd_postgresql" {
source = "../.."
source = "../.."
# remove the above line and uncomment the below 2 lines to consume the module from the registry
# source = "terraform-ibm-modules/icd-postgresql/ibm"
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
resource_group_id = module.resource_group.resource_group_id
name = "${var.prefix}-postgres-restored"
pg_version = var.pg_version
Expand Down
5 changes: 4 additions & 1 deletion examples/basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ module "resource_group" {
##############################################################################

module "database" {
source = "../.."
source = "../.."
# remove the above line and uncomment the below 2 lines to consume the module from the registry
# source = "terraform-ibm-modules/icd-postgresql/ibm"
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
resource_group_id = module.resource_group.resource_group_id
name = "${var.prefix}-data-store"
pg_version = var.pg_version
Expand Down
5 changes: 4 additions & 1 deletion examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ module "cbr_zone" {
##############################################################################

module "icd_postgresql" {
source = "../../"
source = "../../"
# remove the above line and uncomment the below 2 lines to consume the module from the registry
# source = "terraform-ibm-modules/icd-postgresql/ibm"
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
resource_group_id = module.resource_group.resource_group_id
name = "${var.prefix}-postgres"
region = var.region
Expand Down
5 changes: 4 additions & 1 deletion examples/fscloud/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ module "cbr_zone" {
##############################################################################

module "postgresql_db" {
source = "../../modules/fscloud"
source = "../../modules/fscloud"
# remove the above line and uncomment the below 2 lines to consume the module from the registry
# source = "terraform-ibm-modules/icd-postgresql/ibm//modules/fscloud"
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
resource_group_id = module.resource_group.resource_group_id
name = "${var.prefix}-postgres"
region = var.region
Expand Down
5 changes: 4 additions & 1 deletion examples/pitr/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ module "resource_group" {

# New ICD postgresql database instance pointing to a PITR time
module "postgresql_db_pitr" {
source = "../.."
source = "../.."
# remove the above line and uncomment the below 2 lines to consume the module from the registry
# source = "terraform-ibm-modules/icd-postgresql/ibm"
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
resource_group_id = module.resource_group.resource_group_id
name = "${var.prefix}-postgres-pitr"
region = var.region
Expand Down