cloudformation-cli
cloudformation-cli copied to clipboard
cfn validate doesn't validate missing properties
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.
mentioned in https://github.com/aws-cloudformation/cloudformation-resource-schema/issues/17 and https://github.com/aws-cloudformation/cloudformation-cli/issues/408 as well
@ammokhov , do you or anyone on the team have any time to review the PR?