object-storage
cloud-native-toolkit/object-storage/ibm
Terraform module to provision Object Storage in the IBM Cloud account
IBM Object Storage terraform module Module to work with an IBM Cloud Object Storage instance. If the provision flag is true then an new instance of IBM Cloud Object Storage is provisioned. Otherwise, the module will find an existing instance with the provided name and create a credential. The name and id of the Object Storage instance as well as the name and id of the credential instance are exported from the module for use by other modules. Note: This module follows the Terraform conventions regarding how provider configuration is defined within the Terraform template and passed into the module - https://www.terraform.io/docs/language/modules/develop/providers.html. The default provider configuration flows through to the module. If different configuration is required for a module, it can
| Name | Type | Description | Default |
|---|---|---|---|
| resource_group_name | string | Resource group where the cluster has been provisioned. | required |
| resource_location | string | Geographic location of the resource (e.g. us-south, us-east) | "global" |
| name_prefix | string | The prefix name for the service. If not provided it will default to the resource | "" |
| name | string | The name that should be used for the service, particularly when connecting to an | "" |
| label | string | The name that should be used for the service, particularly when connecting to an | "cos" |
| common_tags | list(string) | Common tags that should be added to the instance | [] |
| tags | list(string) | Tags that should be applied to the service | [] |
| plan | string | The type of plan the service instance should run under (lite or standard) | "standard" |
| provision | bool | Flag indicating that cos instance should be provisioned | true |
| ibmcloud_api_key | string | The ibmcloud api key used to test that instance is ready | "" |
id — The Object Storage instance idname — The Object Storage instance namecrn — The crn of the Object Storage instancekey_id — The name of the credential provisioned for the Object Storage instancetype — The type of the resourcelocation — The Object Storage instance locationkey_name — The name of the credential provisioned for the Object Storage instanceservice — The name of the key provisioned for the Object Storage instancelabel — The label used for the Object Storage instance