From 0e3048b09547a361b0a85f276a3b4dcc38ba607d Mon Sep 17 00:00:00 2001 From: lornakelly Date: Fri, 13 Dec 2024 13:12:00 +0000 Subject: [PATCH] fix(Cloud Databases): Key protect revert fix (#5870) --- ibm/service/database/resource_ibm_database.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ibm/service/database/resource_ibm_database.go b/ibm/service/database/resource_ibm_database.go index 4150816d1b..a0d2ab72a0 100644 --- a/ibm/service/database/resource_ibm_database.go +++ b/ibm/service/database/resource_ibm_database.go @@ -1603,14 +1603,6 @@ func resourceIBMDatabaseInstanceRead(context context.Context, d *schema.Resource if endpoint, ok := instance.Parameters["service-endpoints"]; ok { d.Set("service_endpoints", endpoint) } - - if encryptionInstance, ok := instance.Parameters["disk_encryption_instance_crn"]; ok { - d.Set("key_protect_instance", encryptionInstance) - } - - if encryptionKey, ok := instance.Parameters["disk_encryption_key_crn"]; ok { - d.Set("key_protect_key", encryptionKey) - } } d.Set(flex.ResourceName, *instance.Name)