Open skarimo opened 1 month ago
The cloudformaiton-cli uses pyjq syntax for transforming models See: [here](https://github.com/aws-cloudformation/cloudformation-cli/blob/master/src/rpdk/core/contract/resource_client.py#L258
However, the backend uses JSONata. See here
Unfortunately this means we cannot use contract tests to test the behavior of our resources. In addition, any developer mistake in setting state will fail in non-obvious ways when using propertyTransform
The cloudformaiton-cli uses pyjq syntax for transforming models See: [here](https://github.com/aws-cloudformation/cloudformation-cli/blob/master/src/rpdk/core/contract/resource_client.py#L258
However, the backend uses JSONata. See here
Unfortunately this means we cannot use contract tests to test the behavior of our resources. In addition, any developer mistake in setting state will fail in non-obvious ways when using propertyTransform