aws-cloudformation / cloudformation-template-schema

Inline syntax validation, documentation links and autocompletion for your CloudFormation templates.
Apache License 2.0
141 stars 24 forks source link

Property Condition is not allowed #31

Open ryanspletzer opened 4 years ago

ryanspletzer commented 4 years ago

Does anyone else see this?

image

rjlohan commented 4 years ago

I don't see this error in my IDE.

Screen Shot 2019-12-17 at 10 00 15 AM

However, I also see that auto-complete isn't working for any of UpdatePolicy, UpdateReplacePolicy, CreationPolicy or DeletionPolicy so there's probably a gap here.

ryanspletzer commented 4 years ago

Ok no worries, it must be something on my end. Just starting kicking the tires on this after re:Invent. :)

PatMyron commented 4 years ago

Not finding most of the attributes (couple missing from that page) explicitly from searching this codebase at least

PatMyron commented 3 years ago

I don't see this error in my IDE

if using the CloudFormation extension, this might be because it defaults schema validation off

Reproduced with schema validation on: Property Condition is not allowed. Property CreationPolicy is not allowed. Property UpdatePolicy is not allowed. Property Metadata is not allowed. Property DeletionPolicy is not allowed. Property UpdateReplacePolicy is not allowed.