Open wbingli opened 4 years ago
catching some of these in cfn validate
because readOnlyProperties
should never overlap with writeOnlyProperties
or createOnlyProperties
or required
:
https://github.com/aws-cloudformation/cloudformation-cli/pull/663
https://github.com/aws-cloudformation/cloudformation-cli/pull/668
still not sure why CloudFormation diverged from readOnly
and writeOnly
as defined in JSON schema itself
Currently, if set a value for a readOnlyProperties, this will be silently ignored. We should have validation to enforce this validation.