Skip to content

cfn validate doesn't validate missing properties #841

Description

@richardhboyd

If I have the following snippet in my schema

    "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.

Activity

  1. PatMyron commented on Oct 28, 2021

    @PatMyron
    Contributor
  2. added a commit that references this issue on Jul 9, 2022
  3. mgentry612 commented on Jul 9, 2022

    @mgentry612

    @ammokhov , do you or anyone on the team have any time to review the PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions