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

Fixed handling of malformed resource spec #27

Closed rjlohan closed 5 years ago

rjlohan commented 5 years ago

Description of changes: Fixed handling of malformed resource spec

Added logging to emit certain failures and basic generation flow. No longer hard failing on malformed specification files.

The AWS::ServiceDiscovery::Instance type is currently malformed in the specification and rather than abort on trying to process it in this tool, it will now emit log errors and carry on.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.