From a23e7e783be579e1f645cee38178f323966b9b2d Mon Sep 17 00:00:00 2001 From: Arpit Srivastava Date: Thu, 23 Nov 2023 12:04:34 +0530 Subject: [PATCH] fix: CIS - remove deafult value for min_tls_version --- ibm/service/cis/resource_ibm_cis_domain_settings.go | 1 - ibm/service/cis/resource_ibm_cis_tls_settings.go | 1 - metadata/provider_metadata.json | 2 -- 3 files changed, 4 deletions(-) diff --git a/ibm/service/cis/resource_ibm_cis_domain_settings.go b/ibm/service/cis/resource_ibm_cis_domain_settings.go index 5a83a01ae0..47bb6046a7 100644 --- a/ibm/service/cis/resource_ibm_cis_domain_settings.go +++ b/ibm/service/cis/resource_ibm_cis_domain_settings.go @@ -127,7 +127,6 @@ func ResourceIBMCISSettings() *schema.Resource { ValidateFunc: validate.InvokeValidator( ibmCISDomainSettings, cisDomainSettingsTLSVersionValidatorID), - Default: "1.1", }, cisDomainSettingsCNAMEFlattening: { Type: schema.TypeString, diff --git a/ibm/service/cis/resource_ibm_cis_tls_settings.go b/ibm/service/cis/resource_ibm_cis_tls_settings.go index d6552318bc..76fab72351 100644 --- a/ibm/service/cis/resource_ibm_cis_tls_settings.go +++ b/ibm/service/cis/resource_ibm_cis_tls_settings.go @@ -56,7 +56,6 @@ func ResourceIBMCISTLSSettings() *schema.Resource { Description: "Minimum version of TLS required", Optional: true, ValidateFunc: validate.InvokeValidator(ibmCISTLSSettings, cisTLSSettingsMinTLSVersion), - Default: "1.1", }, }, Create: resourceCISTLSSettingsUpdate, diff --git a/metadata/provider_metadata.json b/metadata/provider_metadata.json index 595fc1b0cd..35b141da83 100644 --- a/metadata/provider_metadata.json +++ b/metadata/provider_metadata.json @@ -94360,7 +94360,6 @@ "name": "min_tls_version", "type": "TypeString", "description": "Minimum version of TLS required", - "default_value": "1.1", "optional": true }, { @@ -96013,7 +96012,6 @@ "name": "min_tls_version", "type": "TypeString", "description": "Minimum version of TLS required", - "default_value": "1.1", "options": "1.1, 1.2, 1.3, 1.4", "optional": true }