From 6f3bbf9d2118ba11dbfc025dab827d4358f3d8ac Mon Sep 17 00:00:00 2001 From: Veera Sravan Kumar Chitluri Date: Fri, 7 Jul 2023 13:37:14 +0530 Subject: [PATCH 1/2] Adding secondary storage on vpc cluster --- examples/vpc-openshift/input.tfvars | 2 +- examples/vpc-openshift/main.tf | 1 + examples/vpc-openshift/variables.tf | 6 ++++++ modules/vpc-openshift/main.tf | 1 + modules/vpc-openshift/variables.tf | 6 ++++++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/examples/vpc-openshift/input.tfvars b/examples/vpc-openshift/input.tfvars index 7df2303..a4c5a70 100644 --- a/examples/vpc-openshift/input.tfvars +++ b/examples/vpc-openshift/input.tfvars @@ -26,7 +26,7 @@ worker_zones = { } } - +#secondary_storage = "900gb.5iops-tier" kms_config = [{ instance_id = "4b60eaa9-5a68-4ca7-bda3-23c41a3812af" diff --git a/examples/vpc-openshift/main.tf b/examples/vpc-openshift/main.tf index a1adb77..2fd2a10 100644 --- a/examples/vpc-openshift/main.tf +++ b/examples/vpc-openshift/main.tf @@ -28,6 +28,7 @@ module "vpc_openshift_cluster" { tags = var.tags cos_instance_crn = var.cos_instance_crn force_delete_storage = var.force_delete_storage + secondary_storage = var.secondary_storage kms_config = var.kms_config taints = var.taints entitlement = var.entitlement diff --git a/examples/vpc-openshift/variables.tf b/examples/vpc-openshift/variables.tf index 68050ed..5c5239e 100644 --- a/examples/vpc-openshift/variables.tf +++ b/examples/vpc-openshift/variables.tf @@ -29,6 +29,12 @@ variable "worker_zones" { description = "List of worker zones to attach" } +varible "secondary_storage"{ + type = string + description = "The flavor of the vpc worker node that you want to add secondary storage" + default = null +} + variable "create_timeout" { type = string description = "Timeout duration for create." diff --git a/modules/vpc-openshift/main.tf b/modules/vpc-openshift/main.tf index db3a884..f085d4d 100644 --- a/modules/vpc-openshift/main.tf +++ b/modules/vpc-openshift/main.tf @@ -20,6 +20,7 @@ resource "ibm_container_vpc_cluster" "cluster" { cos_instance_crn = (var.cos_instance_crn != null ? var.cos_instance_crn : null) force_delete_storage = (var.force_delete_storage != null ? var.force_delete_storage : false) entitlement = (var.entitlement != null ? var.entitlement : null) + secondary_storage = (var.secondary_storage != null ? var.secondary_storage : null) dynamic zones { for_each = (var.worker_zones != null ? var.worker_zones : {}) diff --git a/modules/vpc-openshift/variables.tf b/modules/vpc-openshift/variables.tf index 43cab90..a7b605a 100644 --- a/modules/vpc-openshift/variables.tf +++ b/modules/vpc-openshift/variables.tf @@ -24,6 +24,12 @@ variable "kube_version" { default = null } +varible "secondary_storage"{ + type = string + description = "The flavor of the vpc worker node that you want to add secondary storage" + default = null +} + variable "create_timeout" { type = string description = "Timeout duration for create." From 83a4f087cd6c6077d56ac481c4fd38a95c4a92dc Mon Sep 17 00:00:00 2001 From: Veera Sravan Kumar Chitluri Date: Fri, 7 Jul 2023 14:08:53 +0530 Subject: [PATCH 2/2] Version update new required --- examples/classic-free/versions.tf | 10 +++++----- examples/classic-kubernetes-e2e/versions.tf | 12 ++++++------ examples/classic-kubernetes-multi-zone/versions.tf | 10 +++++----- examples/classic-kubernetes-single-zone/versions.tf | 10 +++++----- examples/classic-openshift-multi-zone/versions.tf | 10 +++++----- examples/classic-openshift-single-zone/versions.tf | 10 +++++----- examples/configure-addons/versions.tf | 10 +++++----- examples/configure-alb-cert/versions.tf | 10 +++++----- examples/configure-alb/versions.tf | 10 +++++----- examples/configure-classic-worker-pool/versions.tf | 10 +++++----- examples/configure-logdna/versions.tf | 10 +++++----- examples/configure-sysdig-monitor/versions.tf | 10 +++++----- examples/configure-vpc-alb/versions.tf | 10 +++++----- examples/configure-vpc-worker-pool/versions.tf | 10 +++++----- examples/iks-integration/versions.tf | 2 +- examples/openshift-route/versions.tf | 4 ++-- examples/secure-roks-cluster/versions.tf | 2 +- examples/vpc-kubernetes/versions.tf | 10 +++++----- examples/vpc-openshift/input.tfvars | 2 +- examples/vpc-openshift/main.tf | 2 +- examples/vpc-openshift/variables.tf | 8 ++++---- examples/vpc-openshift/versions.tf | 10 +++++----- modules/classic-free/versions.tf | 10 +++++----- modules/classic-kubernetes-multi-zone/versions.tf | 10 +++++----- modules/classic-kubernetes-single-zone/versions.tf | 10 +++++----- modules/classic-openshift-multi-zone/versions.tf | 10 +++++----- modules/classic-openshift-single-zone/versions.tf | 10 +++++----- modules/configure-addons/versions.tf | 10 +++++----- modules/configure-alb-cert/versions.tf | 10 +++++----- modules/configure-alb/versions.tf | 10 +++++----- modules/configure-classic-worker-pool/versions.tf | 10 +++++----- modules/configure-logdna/versions.tf | 10 +++++----- modules/configure-sysdig-monitor/versions.tf | 10 +++++----- modules/configure-vpc-alb/versions.tf | 10 +++++----- modules/configure-vpc-worker-pool/versions.tf | 10 +++++----- modules/openshift-route/versions.tf | 4 ++-- modules/vpc-kubernetes/versions.tf | 10 +++++----- modules/vpc-openshift/main.tf | 2 +- modules/vpc-openshift/variables.tf | 8 ++++---- modules/vpc-openshift/versions.tf | 10 +++++----- versions.tf | 6 +++--- 41 files changed, 176 insertions(+), 176 deletions(-) diff --git a/examples/classic-free/versions.tf b/examples/classic-free/versions.tf index 6d2e96c..b4459c6 100644 --- a/examples/classic-free/versions.tf +++ b/examples/classic-free/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/classic-kubernetes-e2e/versions.tf b/examples/classic-kubernetes-e2e/versions.tf index 8868c82..e1329b2 100644 --- a/examples/classic-kubernetes-e2e/versions.tf +++ b/examples/classic-kubernetes-e2e/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. -*****************************************************/ +If we dont configure the version parameter, +it fetches latest provider version. +****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/classic-kubernetes-multi-zone/versions.tf b/examples/classic-kubernetes-multi-zone/versions.tf index bb86c19..04c812d 100644 --- a/examples/classic-kubernetes-multi-zone/versions.tf +++ b/examples/classic-kubernetes-multi-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/classic-kubernetes-single-zone/versions.tf b/examples/classic-kubernetes-single-zone/versions.tf index 32cb465..463cc6e 100644 --- a/examples/classic-kubernetes-single-zone/versions.tf +++ b/examples/classic-kubernetes-single-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/classic-openshift-multi-zone/versions.tf b/examples/classic-openshift-multi-zone/versions.tf index 929f1ca..df8cd0f 100644 --- a/examples/classic-openshift-multi-zone/versions.tf +++ b/examples/classic-openshift-multi-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/classic-openshift-single-zone/versions.tf b/examples/classic-openshift-single-zone/versions.tf index 939db9a..dc7dd11 100644 --- a/examples/classic-openshift-single-zone/versions.tf +++ b/examples/classic-openshift-single-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-addons/versions.tf b/examples/configure-addons/versions.tf index 33d9965..c5fda15 100644 --- a/examples/configure-addons/versions.tf +++ b/examples/configure-addons/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-alb-cert/versions.tf b/examples/configure-alb-cert/versions.tf index f0d3284..04b394a 100644 --- a/examples/configure-alb-cert/versions.tf +++ b/examples/configure-alb-cert/versions.tf @@ -8,20 +8,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-alb/versions.tf b/examples/configure-alb/versions.tf index a316905..156657f 100644 --- a/examples/configure-alb/versions.tf +++ b/examples/configure-alb/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-classic-worker-pool/versions.tf b/examples/configure-classic-worker-pool/versions.tf index 4291364..c1575db 100644 --- a/examples/configure-classic-worker-pool/versions.tf +++ b/examples/configure-classic-worker-pool/versions.tf @@ -8,20 +8,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-logdna/versions.tf b/examples/configure-logdna/versions.tf index 2b7f55e..92a523d 100644 --- a/examples/configure-logdna/versions.tf +++ b/examples/configure-logdna/versions.tf @@ -8,20 +8,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-sysdig-monitor/versions.tf b/examples/configure-sysdig-monitor/versions.tf index 73a4425..4e51ecb 100644 --- a/examples/configure-sysdig-monitor/versions.tf +++ b/examples/configure-sysdig-monitor/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-vpc-alb/versions.tf b/examples/configure-vpc-alb/versions.tf index a035497..ad1d76d 100644 --- a/examples/configure-vpc-alb/versions.tf +++ b/examples/configure-vpc-alb/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/configure-vpc-worker-pool/versions.tf b/examples/configure-vpc-worker-pool/versions.tf index 33d9965..c5fda15 100644 --- a/examples/configure-vpc-worker-pool/versions.tf +++ b/examples/configure-vpc-worker-pool/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/iks-integration/versions.tf b/examples/iks-integration/versions.tf index 9fe2f8e..978d3d3 100644 --- a/examples/iks-integration/versions.tf +++ b/examples/iks-integration/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ibm = { source = "IBM-Cloud/ibm" - version = ">=1.31.0" + version = ">=1.54.0" } } } \ No newline at end of file diff --git a/examples/openshift-route/versions.tf b/examples/openshift-route/versions.tf index d4426e6..8f4c40a 100644 --- a/examples/openshift-route/versions.tf +++ b/examples/openshift-route/versions.tf @@ -7,11 +7,11 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } diff --git a/examples/secure-roks-cluster/versions.tf b/examples/secure-roks-cluster/versions.tf index 5a9b40c..978d3d3 100644 --- a/examples/secure-roks-cluster/versions.tf +++ b/examples/secure-roks-cluster/versions.tf @@ -2,7 +2,7 @@ terraform { required_providers { ibm = { source = "IBM-Cloud/ibm" - version = ">=1.30.0" + version = ">=1.54.0" } } } \ No newline at end of file diff --git a/examples/vpc-kubernetes/versions.tf b/examples/vpc-kubernetes/versions.tf index 6b78c13..f60db9b 100644 --- a/examples/vpc-kubernetes/versions.tf +++ b/examples/vpc-kubernetes/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/examples/vpc-openshift/input.tfvars b/examples/vpc-openshift/input.tfvars index a4c5a70..d096c80 100644 --- a/examples/vpc-openshift/input.tfvars +++ b/examples/vpc-openshift/input.tfvars @@ -26,7 +26,7 @@ worker_zones = { } } -#secondary_storage = "900gb.5iops-tier" +secondary_storage = "900gb.5iops-tier" kms_config = [{ instance_id = "4b60eaa9-5a68-4ca7-bda3-23c41a3812af" diff --git a/examples/vpc-openshift/main.tf b/examples/vpc-openshift/main.tf index 2fd2a10..2c36467 100644 --- a/examples/vpc-openshift/main.tf +++ b/examples/vpc-openshift/main.tf @@ -28,8 +28,8 @@ module "vpc_openshift_cluster" { tags = var.tags cos_instance_crn = var.cos_instance_crn force_delete_storage = var.force_delete_storage - secondary_storage = var.secondary_storage kms_config = var.kms_config + secondary_storage = var.secondary_storage taints = var.taints entitlement = var.entitlement create_timeout = var.create_timeout diff --git a/examples/vpc-openshift/variables.tf b/examples/vpc-openshift/variables.tf index 5c5239e..84298e0 100644 --- a/examples/vpc-openshift/variables.tf +++ b/examples/vpc-openshift/variables.tf @@ -29,10 +29,10 @@ variable "worker_zones" { description = "List of worker zones to attach" } -varible "secondary_storage"{ - type = string - description = "The flavor of the vpc worker node that you want to add secondary storage" - default = null +variable "secondary_storage" { + description = "The Kubernetes or OpenShift secondary_storage that you want to set up in your cluster." + type = string + default = null } variable "create_timeout" { diff --git a/examples/vpc-openshift/versions.tf b/examples/vpc-openshift/versions.tf index e21d201..3f8785b 100644 --- a/examples/vpc-openshift/versions.tf +++ b/examples/vpc-openshift/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/classic-free/versions.tf b/modules/classic-free/versions.tf index 6d2e96c..b4459c6 100644 --- a/modules/classic-free/versions.tf +++ b/modules/classic-free/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/classic-kubernetes-multi-zone/versions.tf b/modules/classic-kubernetes-multi-zone/versions.tf index bb86c19..04c812d 100644 --- a/modules/classic-kubernetes-multi-zone/versions.tf +++ b/modules/classic-kubernetes-multi-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/classic-kubernetes-single-zone/versions.tf b/modules/classic-kubernetes-single-zone/versions.tf index 32cb465..463cc6e 100644 --- a/modules/classic-kubernetes-single-zone/versions.tf +++ b/modules/classic-kubernetes-single-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/classic-openshift-multi-zone/versions.tf b/modules/classic-openshift-multi-zone/versions.tf index 929f1ca..df8cd0f 100644 --- a/modules/classic-openshift-multi-zone/versions.tf +++ b/modules/classic-openshift-multi-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/classic-openshift-single-zone/versions.tf b/modules/classic-openshift-single-zone/versions.tf index 939db9a..dc7dd11 100644 --- a/modules/classic-openshift-single-zone/versions.tf +++ b/modules/classic-openshift-single-zone/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-addons/versions.tf b/modules/configure-addons/versions.tf index 33d9965..c5fda15 100644 --- a/modules/configure-addons/versions.tf +++ b/modules/configure-addons/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-alb-cert/versions.tf b/modules/configure-alb-cert/versions.tf index f0d3284..04b394a 100644 --- a/modules/configure-alb-cert/versions.tf +++ b/modules/configure-alb-cert/versions.tf @@ -8,20 +8,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-alb/versions.tf b/modules/configure-alb/versions.tf index a316905..156657f 100644 --- a/modules/configure-alb/versions.tf +++ b/modules/configure-alb/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-classic-worker-pool/versions.tf b/modules/configure-classic-worker-pool/versions.tf index 4291364..c1575db 100644 --- a/modules/configure-classic-worker-pool/versions.tf +++ b/modules/configure-classic-worker-pool/versions.tf @@ -8,20 +8,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-logdna/versions.tf b/modules/configure-logdna/versions.tf index 2b7f55e..92a523d 100644 --- a/modules/configure-logdna/versions.tf +++ b/modules/configure-logdna/versions.tf @@ -8,20 +8,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-sysdig-monitor/versions.tf b/modules/configure-sysdig-monitor/versions.tf index 73a4425..4e51ecb 100644 --- a/modules/configure-sysdig-monitor/versions.tf +++ b/modules/configure-sysdig-monitor/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-vpc-alb/versions.tf b/modules/configure-vpc-alb/versions.tf index a035497..ad1d76d 100644 --- a/modules/configure-vpc-alb/versions.tf +++ b/modules/configure-vpc-alb/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/configure-vpc-worker-pool/versions.tf b/modules/configure-vpc-worker-pool/versions.tf index 33d9965..c5fda15 100644 --- a/modules/configure-vpc-worker-pool/versions.tf +++ b/modules/configure-vpc-worker-pool/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/openshift-route/versions.tf b/modules/openshift-route/versions.tf index fb95cb2..905f60c 100644 --- a/modules/openshift-route/versions.tf +++ b/modules/openshift-route/versions.tf @@ -6,11 +6,11 @@ /*************************************************** NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } diff --git a/modules/vpc-kubernetes/versions.tf b/modules/vpc-kubernetes/versions.tf index 6b78c13..f60db9b 100644 --- a/modules/vpc-kubernetes/versions.tf +++ b/modules/vpc-kubernetes/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/modules/vpc-openshift/main.tf b/modules/vpc-openshift/main.tf index f085d4d..ef933a4 100644 --- a/modules/vpc-openshift/main.tf +++ b/modules/vpc-openshift/main.tf @@ -20,7 +20,7 @@ resource "ibm_container_vpc_cluster" "cluster" { cos_instance_crn = (var.cos_instance_crn != null ? var.cos_instance_crn : null) force_delete_storage = (var.force_delete_storage != null ? var.force_delete_storage : false) entitlement = (var.entitlement != null ? var.entitlement : null) - secondary_storage = (var.secondary_storage != null ? var.secondary_storage : null) + secondary_storage = (var.secondary_storage != null ? var.secondary_storage :null) dynamic zones { for_each = (var.worker_zones != null ? var.worker_zones : {}) diff --git a/modules/vpc-openshift/variables.tf b/modules/vpc-openshift/variables.tf index a7b605a..7754f10 100644 --- a/modules/vpc-openshift/variables.tf +++ b/modules/vpc-openshift/variables.tf @@ -24,10 +24,10 @@ variable "kube_version" { default = null } -varible "secondary_storage"{ - type = string - description = "The flavor of the vpc worker node that you want to add secondary storage" - default = null +variable "secondary_storage" { + description = "The Kubernetes or OpenShift secondary_storage that you want to set up in your cluster." + type = string + default = null } variable "create_timeout" { diff --git a/modules/vpc-openshift/versions.tf b/modules/vpc-openshift/versions.tf index e21d201..3f8785b 100644 --- a/modules/vpc-openshift/versions.tf +++ b/modules/vpc-openshift/versions.tf @@ -7,20 +7,20 @@ NOTE: To source a particular version of IBM terraform provider, configure the parameter `version` as follows terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.21.0" + version = "1.54.0" } } } - -If we dont configure the version parameter, it fetches the latest provider version. +If we dont configure the version parameter, +it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" diff --git a/versions.tf b/versions.tf index a4662fe..f5861f4 100644 --- a/versions.tf +++ b/versions.tf @@ -8,11 +8,11 @@ NOTE: To source a particular version of IBM terraform provider version, configure the parameter `version`. terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm" - version = "1.20.0" + version = "1.54.0" } } } @@ -21,7 +21,7 @@ it fetches latest provider version. ****************************************************/ terraform { - required_version = ">=0.13" + required_version = ">=0.15.3" required_providers { ibm = { source = "IBM-Cloud/ibm"