Skip to content

Commit 2a807c7

Browse files
authored
Merge branch 'main' into issue-12003
2 parents 0104363 + a8d4ced commit 2a807c7

File tree

18 files changed

+146
-54
lines changed

18 files changed

+146
-54
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ You need the following permissions to run this module.
5959

6060
| Name | Version |
6161
|------|---------|
62-
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
62+
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.9.0 |
6363
| <a name="requirement_ibm"></a> [ibm](#requirement\_ibm) | >= 1.70.0, <2.0.0 |
6464
| <a name="requirement_null"></a> [null](#requirement\_null) | >= 3.2.1, < 4.0.0 |
6565
| <a name="requirement_time"></a> [time](#requirement\_time) | >= 0.9.1 |

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/backup-restore/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 1.3.0"
2+
required_version = ">= 1.9.0"
33
required_providers {
44
# Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main
55
# module's version.tf (basic example), and 1 example that will always use the latest provider version (complete example).

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/basic/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 1.3.0"
2+
required_version = ">= 1.9.0"
33
required_providers {
44
# Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
55
ibm = {

examples/complete/main.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ locals {
3535

3636
module "key_protect_all_inclusive" {
3737
source = "terraform-ibm-modules/kms-all-inclusive/ibm"
38-
version = "5.1.2"
38+
version = "5.1.7"
3939
resource_group_id = module.resource_group.resource_group_id
4040
# Only us-south, us-east and eu-de backup encryption keys are supported. See https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-key-protect&interface=ui#key-byok for details.
4141
# Note: Database instance and Key Protect must be created on the same region.
@@ -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
@@ -95,7 +98,7 @@ module "icd_elasticsearch" {
9598
module "secrets_manager" {
9699
count = var.existing_sm_instance_guid == null ? 1 : 0
97100
source = "terraform-ibm-modules/secrets-manager/ibm"
98-
version = "2.2.6"
101+
version = "2.3.1"
99102
resource_group_id = module.resource_group.resource_group_id
100103
region = var.region
101104
secrets_manager_name = "${var.prefix}-secrets-manager"
@@ -107,7 +110,7 @@ module "secrets_manager" {
107110
# Add a Secrets Group to the secret manager instance
108111
module "secrets_manager_secrets_group" {
109112
source = "terraform-ibm-modules/secrets-manager-secret-group/ibm"
110-
version = "1.3.4"
113+
version = "1.3.7"
111114
region = local.sm_region
112115
secrets_manager_guid = local.sm_guid
113116
#tfsec:ignore:general-secrets-no-plaintext-exposure

examples/complete/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 1.3.0"
2+
required_version = ">= 1.9.0"
33
# Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
44
required_providers {
55
ibm = {

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

examples/fscloud/version.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
terraform {
2-
required_version = ">= 1.3.0"
2+
required_version = ">= 1.9.0"
33
required_providers {
44
# Use latest version of provider in non-basic examples to verify latest version works with module
55
ibm = {

0 commit comments

Comments
 (0)