COS buckets allow modifying key_protect
after creation, but they should not
#2310
Labels
service/Object Storage
Issues related to Cloud Object Storage
Terraform Version
Terraform v0.12.29
IBM Cloud Plugin v1.13.1
Affected Resource(s)
Terraform Configuration Files
First:
Expected Behavior
When the bucket is first created without
key_protect
and then laterkey_protect
is added, it should tell you it needs to recreate the bucket. The IBM Cloud console says you can only add key protection when the bucket is created:More here: https://cloud.ibm.com/docs/cloud-object-storage?topic=cloud-object-storage-encryption#encryption-kp
Actual Behavior
It applies successfully, but in the console no key protection is added, and the terraform state does not actually show the supposed new
key_protect
attribute.Steps to Reproduce
The text was updated successfully, but these errors were encountered: