diff --git a/internal/service/core/core_instance_configuration_resource.go b/internal/service/core/core_instance_configuration_resource.go index 468c363ba3..91e7a22c6e 100644 --- a/internal/service/core/core_instance_configuration_resource.go +++ b/internal/service/core/core_instance_configuration_resource.go @@ -3516,6 +3516,11 @@ func (s *CoreInstanceConfigurationResourceCrud) mapToInstanceConfigurationInstan tmp := imageId.(string) details.ImageId = &tmp } + if kmsKeyId, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "kms_key_id")); ok { + tmp := kmsKeyId.(string) + details.KmsKeyId = &tmp + } + if instanceSourceImageFilterDetails, ok := s.D.GetOkExists(fmt.Sprintf(fieldKeyFormat, "instance_source_image_filter_details")); ok { if tmpList := instanceSourceImageFilterDetails.([]interface{}); len(tmpList) > 0 { fieldKeyFormatNextLevel := fmt.Sprintf("%s.%d.%%s", fmt.Sprintf(fieldKeyFormat, "instance_source_image_filter_details"), 0)