aws-cloudformation / cloudformation-resource-schema

The CloudFormation Resource Schema defines the shape and semantic for resources provisioned by CloudFormation. It is used by provider developers using the CloudFormation RPDK.
Apache License 2.0
93 stars 38 forks source link

Fix schema validation failure - A JSONObject text must begin with '{' at 0 [character 1 line 1] #25

Closed AugustXiaodm closed 5 years ago

AugustXiaodm commented 5 years ago

When deploying new types, some would fail out of "Cause": "{\"errorMessage\":\"A JSONObject text must begin with '{' at 0 [character 1 line 1]. After debugging, the failure happens when loading "/schema/provider.definition.schema.v1.json" file. Change the way loading json file to work around this failure.