You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
skarimo
changed the title
propertyTransform uses pyjq while AWS cf backend uses JSONata syntaxcloudformation-cli uses pyjq for propertyTransform while AWS backend uses JSONata syntax
May 24, 2024
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 text was updated successfully, but these errors were encountered: