You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[ibm_resource_instance.cos_instance](https://registry.terraform.io/providers/ibm-cloud/ibm/latest/docs/data-sources/resource_instance)| data source |
95
-
|[ibm_resource_instance.keyprotect_instance](https://registry.terraform.io/providers/ibm-cloud/ibm/latest/docs/data-sources/resource_instance)| data source |
96
97
97
98
## Inputs
98
99
@@ -103,14 +104,18 @@ No modules.
103
104
| <aname="input_archive_type"></a> [archive\_type](#input\_archive\_type)| Specifies the storage class or archive type to which you want the object to transition. |`string`|`"Glacier"`| no |
104
105
| <aname="input_bucket_infix"></a> [bucket\_infix](#input\_bucket\_infix)| Custom infix for use in cos bucket name (Optional) |`string`|`null`| no |
105
106
| <aname="input_cos_instance_name"></a> [cos\_instance\_name](#input\_cos\_instance\_name)| Name of the cos instance where the bucket should be created |`string`|`null`| no |
107
+
| <aname="input_cos_key_name"></a> [cos\_key\_name](#input\_cos\_key\_name)| List of strings containing the list of desired Key Protect Key names as the values for each Key Ring, this Key Protect Key is used to encrypt the data in the COS Bucket |`list(string)`| <pre>[<br> "cos-key"<br>]</pre> | no |
108
+
| <aname="input_cos_key_ring_name"></a> [cos\_key\_ring\_name](#input\_cos\_key\_ring\_name)| A String containing the desired Key Ring Names as the key of the map for the key protect instance, this Key Protect Key is used to encrypt the data in the COS Bucket |`string`|`"cos-key-ring"`| no |
106
109
| <aname="input_cos_location"></a> [cos\_location](#input\_cos\_location)| Location of the cloud object storage instance |`string`|`"global"`| no |
107
110
| <aname="input_cos_plan"></a> [cos\_plan](#input\_cos\_plan)| Plan to be used for creating cloud object storage instance |`string`|`"standard"`| no |
108
111
| <aname="input_create_cos_instance"></a> [create\_cos\_instance](#input\_create\_cos\_instance)| Set as true to create a new Cloud Object Storage instance |`bool`|`true`| no |
112
+
| <aname="input_create_key_protect_instance"></a> [create\_key\_protect\_instance](#input\_create\_key\_protect\_instance)| Set as true to create a new Key Protect instance, this instance will store the Key used to encrypt the data in the COS Bucket |`bool`|`true`| no |
113
+
| <aname="input_create_key_protect_key"></a> [create\_key\_protect\_key](#input\_create\_key\_protect\_key)| Set as true to create a new Key Protect Key, this Key Protect Key is used to encrypt the COS Bucket |`bool`|`true`| no |
109
114
| <aname="input_encryption_enabled"></a> [encryption\_enabled](#input\_encryption\_enabled)| Set as true to use Key Protect encryption to encrypt data in COS bucket |`bool`|`true`| no |
110
115
| <aname="input_environment_name"></a> [environment\_name](#input\_environment\_name)| Prefix name for all related resources |`string`| n/a | yes |
111
116
| <aname="input_expire_days"></a> [expire\_days](#input\_expire\_days)| Specifies the number of days when the expire rule action takes effect. |`number`|`365`| no |
112
-
| <aname="input_key_protect_instance_name"></a> [key\_protect\_instance\_name](#input\_key\_protect\_instance\_name)| Name of an existing Key Protect instance to use, this instance will store the Key used to encrypt the data in the COS Bucket |`string`|`null`| no |
113
-
| <aname="input_key_protect_key_crn"></a> [key\_protect\_key\_crn](#input\_key\_protect\_key\_crn)| CRN of the Key Protect Key to use, this Key Protect Key is used to encrypt the data in the COS Bucket |`string`|`null`| no |
117
+
| <aname="input_key_protect_instance_name"></a> [key\_protect\_instance\_name](#input\_key\_protect\_instance\_name)| Name to set as the instance name if creating a Key Protect instance, otherwise name of an existing Key Protect instance to use, this instance will store the Key used to encrypt the data in the COS Bucket |`string`|`null`| no |
118
+
| <aname="input_key_protect_key_crn"></a> [key\_protect\_key\_crn](#input\_key\_protect\_key\_crn)| CRN of the Key Protect Key to use if not creating a Key in this module, this Key Protect Key is used to encrypt the data in the COS Bucket |`string`|`null`| no |
114
119
| <aname="input_object_versioning_enabled"></a> [object\_versioning\_enabled](#input\_object\_versioning\_enabled)| Enable object versioning to keep multiple versions of an object in a bucket. Cannot be used with retention rule. |`bool`|`false`| no |
115
120
| <aname="input_region"></a> [region](#input\_region)| Name of the Region to deploy in to |`string`|`"us-south"`| no |
116
121
| <aname="input_resource_group_id"></a> [resource\_group\_id](#input\_resource\_group\_id)| The resource group ID where the environment will be created |`string`| n/a | yes |
@@ -128,6 +133,7 @@ No modules.
128
133
| <aname="output_bucket_id"></a> [bucket\_id](#output\_bucket\_id)| Bucket id |
129
134
| <aname="output_bucket_name"></a> [bucket\_name](#output\_bucket\_name)| Bucket Name |
130
135
| <aname="output_cos_instance_id"></a> [cos\_instance\_id](#output\_cos\_instance\_id)| The GUID of the Cloud Object Storage Instance where the buckets are created |
136
+
| <aname="output_key_protect_instance_id"></a> [key\_protect\_instance\_id](#output\_key\_protect\_instance\_id)| The GUID of the Key Protect Instance where the Key to encrypt the COS Bucket is stored |
131
137
| <aname="output_key_protect_key_crn"></a> [key\_protect\_key\_crn](#output\_key\_protect\_key\_crn)| The CRN of the Key Protect Key used to encrypt the COS Bucket |
132
138
| <aname="output_resource_group_id"></a> [resource\_group\_id](#output\_resource\_group\_id)| Resource Group ID |
0 commit comments