cloudformation-resource-schema
cloudformation-resource-schema copied to clipboard
Validation: Resource property cannot set readOnly properties
Currently, if set a value for a readOnlyProperties, this will be silently ignored. We should have validation to enforce this validation.
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