E3001 Missing properties raised as an error when they're not required
See original GitHub issuecfn-lint version: 0.4.2
Description of issue.
An error about missing properties is not always useful. There are resources which don’t necessarily need properties.
Please provide as much information as possible:
- Template linting issues:
"WaitCondition": {
"Type": "AWS::CloudFormation::WaitCondition",
"CreationPolicy": {
"ResourceSignal": {
"Timeout": "PT15M",
"Count": {
"Ref": "TargetCapacity"
}
}
}
}
Getting E3001 Properties not defined for resource WaitCondition
- Feature request:
I’m not sure if there’s a list of resources which don’t need properties in many situations. S3 buckets and WaitCondition seem like good candidates for not raising this. AWS docs say:
Use the optional Parameters section to customize your templates. so it doesn’t sound like it needs to be provided.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
E3001 Missing properties raised as an error when they're not ...
Description of issue. An error about missing properties is not always useful. There are resources which don't necessarily need properties.
Read more >Error "To save to server, correct the invalid missing required ...
Hi Everyone,. The problem is like "To save to server, correct the invalid missing required properties" once open any office document with ...
Read more >Ignore missing properties during Jackson JSON ...
class);. it throws a JsonMappingException saying it cannot deserialize. Is there an annotation to ignore missing fields during deserialization?
Read more >Impossible to calculate structure. Few properties for bars are ...
When you try to calculate a model, you see the error: Impossible to calculate structure: Few properties for bars are missing.
Read more >A curated list of pylint errors with explanation and examples
A list of pylint-errors with reasoning and examples of erroneous and correct ... It's not required to install CLI util as long as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If the spec didn’t have required attributes
Properties
wouldn’t be required.Update would be to remove the requirement – this is typically how this is handled since the current spec doesn’t support complex or logic.
I’ve created #278 to track the spec update bug.