aws-cloudformation / aws-cloudformation/cloudformation-cli
`cloudformation-cli` uses pyjq for `propertyTransform` while AWS backend uses JSONata syntax
Open
- Dominant language
- Python
- Stars
- 336
- Forks
- 172
- Avg merge
- 3d 5m
- Merged PRs (30d)
- 3
Description
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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-model-false-drift.html#resource-type-model-false-drift-property-transform)
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
Contributor guide
Assessment
This issue has not been assessed yet.