Skip to content

Commit

Permalink
feat: removed support for lite plan as this is no longer available …
Browse files Browse the repository at this point in the history
…from IBM Cloud (#674)
  • Loading branch information
iamar7 authored Jul 17, 2024
1 parent 2e3c40f commit b37bcab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ You need the following permissions to run this module.
| <a name="input_bucket_storage_class"></a> [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 |
| <a name="input_cos_instance_name"></a> [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 |
| <a name="input_cos_location"></a> [cos\_location](#input\_cos\_location) | The location for the Object Storage instance. Applies only if `create_cos_instance` is true. | `string` | `"global"` | no |
| <a name="input_cos_plan"></a> [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 |
| <a name="input_cos_plan"></a> [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 |
| <a name="input_cos_tags"></a> [cos\_tags](#input\_cos\_tags) | A list of tags to apply to the Object Storage instance. | `list(string)` | `[]` | no |
| <a name="input_create_cos_bucket"></a> [create\_cos\_bucket](#input\_create\_cos\_bucket) | Whether to create an Object Storage bucket. | `bool` | `true` | no |
| <a name="input_create_cos_instance"></a> [create\_cos\_instance](#input\_create\_cos\_instance) | Whether to create a IBM Cloud Object Storage instance. | `bool` | `true` | no |
Expand Down
2 changes: 1 addition & 1 deletion examples/one-rate-plan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
}
}
Expand Down

0 comments on commit b37bcab

Please sign in to comment.