Fix issue where an invalid request error was returned for DataSource configurations that used a boolean in the config json.
For freeform JSONs in cfn (see Web crawler JSON schema for example), we'll receive number and boolean values as String in handler code and that String would then be sent to Q api which will reject it since it expects a boolean.
This PR introduces a fix that will check string values for "true" or "false" and turn them into a boolean document.
With this fix it is now possible to create a Datasource using the template below
Issue #, if available: Fixes https://github.com/aws-cloudformation/aws-cloudformation-resource-provider-qbusiness/issues/54
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.