object-storage-bucket
cloud-native-toolkit/object-storage-bucket/ibm
Terraform module to provision a bucket in Object Storage
terraform-ibm-object-storage-bucket Provisions an IBM Cloud Object Storage instance and creates a COS bucket 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 be explicitly passed in the providers block of the module - https://www.terraform.io/docs/language/modules/develop/providers.html#passing-providers-explicitly. Software dependencies The module depends on the following software components: Command-line tools - terraform - v13 Terraform providers - IBM Cloud provider >= 1.22.0 Module dep
| Name | Type | Description | Default |
|---|---|---|---|
| enable_object_versioning | bool | Object Versioning allows the COS user to keep multiple versions of an object in | false |
| cos_instance_id | string | id of the COS instance | null |
| label | string | Label used to build the bucket name of not provided. | "bucket" |
| cross_region_location | string | The cross-region location of the bucket. This value is optional. Valid values ar | "" |
| storage_class | string | Storage class of the bucket. Supported values are standard, vault, cold, flex, s | "standard" |
| ibmcloud_api_key | string | The IBM Cloud api token | null |
| vpc_ip_addresses | list(string) | The list of ip addresses in the VPC that should be allowed to access the bucket. | null |
| name_prefix | string | The name of the cos resource | "" |
| allowed_ip | list(string) | A list of IPv4 or IPv6 addresses in CIDR notation that you want to allow access | null |
| cos_key_id | string | The id of the key provisioned for the COS instance | "" |
| suffix | string | Value added to the generated name to ensure it is unique | "" |
| resource_group_name | string | The name of the IBM Cloud resource group where the VPC instance will be created. | null |
| activity_tracker_crn | string | The crn of the Activity Tracking instance | null |
| provision | bool | Flag indicating that the instance should be provisioned. If false then an existi | true |
| name | string | Name of the bucket | "" |
| region | string | Bucket region | null |
| kms_key_crn | string | The crn of the root key in the KMS | null |
| metrics_monitoring_crn | string | The crn of the Metrics Monitoring instance | null |
bucket_name — The name of the COS bucket instanceid — The ID of the COS bucket instancecrn — The CRN of the COS bucket instance