Open kddejong opened 1 year ago
When defining an object type with patternProperties the function traverse_raw_schema will fail and will cause an error to be thrown when doing cfn test. Error Malformed Schema or incorrect path provided
patternProperties
traverse_raw_schema
cfn test
Malformed Schema or incorrect path provided
https://github.com/aws-cloudformation/cloudformation-cli/blob/da2edbd38b1e52ade8bfac5abc6b52449b198201/src/rpdk/core/jsonutils/utils.py#L193-L198
When defining an object type with
patternProperties
the functiontraverse_raw_schema
will fail and will cause an error to be thrown when doingcfn test
. ErrorMalformed Schema or incorrect path provided
https://github.com/aws-cloudformation/cloudformation-cli/blob/da2edbd38b1e52ade8bfac5abc6b52449b198201/src/rpdk/core/jsonutils/utils.py#L193-L198