Update deprecated function in validation library
@@ -33,7 +33,7 @@ var aivenKafkaSchemaSchema = map[string]*schema.Schema{
Type: schema.TypeString,
Description: "Kafka Schema configuration should be a valid Avro Schema JSON format",
Required: true,
- ValidateFunc: validation.ValidateJsonString,
+ ValidateFunc: validation.StringIsJSON,
StateFunc: normalizeJsonString,
DiffSuppressFunc: diffSuppressJsonObject,
},
