Skip to content

Commit f59ae9b

Browse files
authored
chore: comments in examples (#467)
1 parent 2defbf5 commit f59ae9b

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

examples/backup-restore/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ data "ibm_database_backups" "backup_database" {
1515
}
1616
# New elasticsearch instance pointing to the backup instance
1717
module "restored_icd_elasticsearch" {
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-elasticsearch/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}-elasticsearch-restored"
2124
elasticsearch_version = var.elasticsearch_version

examples/basic/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ module "resource_group" {
1414
##############################################################################
1515

1616
module "database" {
17-
source = "../../"
17+
source = "../../"
18+
# remove the above line and uncomment the below 2 lines to consume the module from the registry
19+
# source = "terraform-ibm-modules/icd-elasticsearch/ibm"
20+
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
1821
resource_group_id = module.resource_group.resource_group_id
1922
name = "${var.prefix}-data-store"
2023
region = var.region

examples/complete/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ module "key_protect_all_inclusive" {
6464
##############################################################################
6565

6666
module "icd_elasticsearch" {
67-
source = "../../"
67+
source = "../../"
68+
# remove the above line and uncomment the below 2 lines to consume the module from the registry
69+
# source = "terraform-ibm-modules/icd-elasticsearch/ibm"
70+
# version = "X.Y.Z" # Replace "X.Y.Z" with a release version to lock into a specific release
6871
resource_group_id = module.resource_group.resource_group_id
6972
name = "${var.prefix}-elasticsearch"
7073
region = var.region

examples/fscloud/main.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ module "cbr_zone" {
5454
##############################################################################
5555

5656
module "elasticsearch" {
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-elasticsearch/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}-elasticsearch"
6063
region = var.region

0 commit comments

Comments
 (0)