From b37bcab508894e5f4b99243cf75e58fa6d53de8d Mon Sep 17 00:00:00 2001 From: Md Anam Raihan Date: Wed, 17 Jul 2024 15:38:02 +0530 Subject: [PATCH] feat: removed support for `lite` plan as this is no longer available from IBM Cloud (#674) --- README.md | 2 +- examples/one-rate-plan/README.md | 2 +- variables.tf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a7305420..1f2ceafa 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ You need the following permissions to run this module. | [bucket\_storage\_class](#input\_bucket\_storage\_class) | The storage class of the new bucket. Required only if `create_cos_bucket` is true. Possible values: `standard`, `vault`, `cold`, `smart`, `onerate_active`. | `string` | `"standard"` | no | | [cos\_instance\_name](#input\_cos\_instance\_name) | The name for the IBM Cloud Object Storage instance provisioned by this module. Applies only if `create_cos_instance` is true. | `string` | `null` | no | | [cos\_location](#input\_cos\_location) | The location for the Object Storage instance. Applies only if `create_cos_instance` is true. | `string` | `"global"` | no | -| [cos\_plan](#input\_cos\_plan) | The plan to use when Object Storage instances are created. Possible values: `standard`, `lite`, `cos-one-rate-plan`. Applies only if `create_cos_instance` is true. | `string` | `"standard"` | no | +| [cos\_plan](#input\_cos\_plan) | The plan to use when Object Storage instances are created. Possible values: `standard`, `cos-one-rate-plan`. Applies only if `create_cos_instance` is true. For more details refer https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-provision. | `string` | `"standard"` | no | | [cos\_tags](#input\_cos\_tags) | A list of tags to apply to the Object Storage instance. | `list(string)` | `[]` | no | | [create\_cos\_bucket](#input\_create\_cos\_bucket) | Whether to create an Object Storage bucket. | `bool` | `true` | no | | [create\_cos\_instance](#input\_create\_cos\_instance) | Whether to create a IBM Cloud Object Storage instance. | `bool` | `true` | no | diff --git a/examples/one-rate-plan/README.md b/examples/one-rate-plan/README.md index 42178cf2..8d042b41 100644 --- a/examples/one-rate-plan/README.md +++ b/examples/one-rate-plan/README.md @@ -2,7 +2,7 @@ A simple example that shows how to provision an IBM Cloud Object Storage One Rate plan instance and an Object Storage bucket with One Rate Active storage. -:exclamation: **Important:** The Active storage class is available only with One Rate plans. You can't use it with Standard or Lite plans. +:exclamation: **Important:** The Active storage class is available only with One Rate plans. You can't use it with Standard plan. The following resources are provisioned by this example: diff --git a/variables.tf b/variables.tf index 7959da3c..d7585b0e 100644 --- a/variables.tf +++ b/variables.tf @@ -57,11 +57,11 @@ variable "cos_location" { } variable "cos_plan" { - description = "The plan to use when Object Storage instances are created. Possible values: `standard`, `lite`, `cos-one-rate-plan`. Applies only if `create_cos_instance` is true." + description = "The plan to use when Object Storage instances are created. Possible values: `standard`, `cos-one-rate-plan`. Applies only if `create_cos_instance` is true. For more details refer https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-provision." type = string default = "standard" validation { - condition = contains(["standard", "lite", "cos-one-rate-plan"], var.cos_plan) + condition = contains(["standard", "cos-one-rate-plan"], var.cos_plan) error_message = "The specified cos_plan is not a valid selection!" } }