aws-cloudformation / aws-cloudformation/cloudformation-cli

cfn validate doesn't validate missing properties

Open
#841 2 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
336
Forks
172
Avg merge
3d 5m
Merged PRs (30d)
3

Description

If I have the following snippet in my schema

```json
"additionalProperties": false,
"readOnlyProperties": [
"/properties/TPSCode"
],
"primaryIdentifier": [
"/properties/TPSCode"
],
```

But I haven't actually defined a `TPSCode` in `properties`, I would expect `cfn validate` to fail.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.