aws-cloudformation / cloudformation-resource-schema

The CloudFormation Resource Schema defines the shape and semantic for resources provisioned by CloudFormation. It is used by provider developers using the CloudFormation RPDK.
Apache License 2.0
93 stars 38 forks source link

Add runtime schema validation for things that can't be checked by JSONSchema #17

Open aygold92 opened 5 years ago

aygold92 commented 5 years ago

Update (3/16/2020)

Please add more as we come across them

tobywf commented 5 years ago

Please see RPDK resource_generator.py (permalink) for additional semantic validations that should be implemented:

benkehoe commented 4 years ago

While primaryIdentifier can be an array (of pointers), a pointer within that array should not point to an array (at least, that's not currently supported). This is not checked during registration but fails (opaquely) at runtime.

PatMyron commented 3 years ago

added some of these to cfn validate: https://github.com/aws-cloudformation/cloudformation-cli/pull/663, https://github.com/aws-cloudformation/cloudformation-cli/pull/668, https://github.com/aws-cloudformation/cloudformation-cli/pull/675, https://github.com/aws-cloudformation/cloudformation-cli/pull/729