diff --git a/pkg/controller/external_tfpluginsdk.go b/pkg/controller/external_tfpluginsdk.go index 9d33e111..ff37ec76 100644 --- a/pkg/controller/external_tfpluginsdk.go +++ b/pkg/controller/external_tfpluginsdk.go @@ -176,7 +176,7 @@ func (c *TerraformPluginSDKConnector) applyHCLParserToParam(sc *schema.Schema, p if param == nil { return param } - switch sc.Type { + switch sc.Type { //nolint:exhaustive case schema.TypeMap: if sc.Elem == nil { return param @@ -217,8 +217,6 @@ func (c *TerraformPluginSDKConnector) applyHCLParserToParam(sc *schema.Schema, p } } return param - case schema.TypeBool, schema.TypeInt, schema.TypeFloat, schema.TypeInvalid: - return param default: return param }