/cloudformation-template-schema

Inline syntax validation, documentation links and autocompletion for your CloudFormation templates.

Primary LanguageJavaApache License 2.0Apache-2.0

AWS CloudFormation Template Schema

The CloudFormation template schema is intended to improve the authoring experience for our customers. It is a simple code process which converts our existing Resource Specifications files into a JSON Schema formatted document. This schema can be integrated into many publicly available IDEs such as Visual Studio Code & PyCharm to provide inline syntax checking and code completion.

Key Features

  1. Complete type-safe template authoring with IntelliSense-based completion
  2. Support for both YAML and JSON templates
  3. Errors flagged for missing required properties
  4. Integrated deep links to CloudFormation documentation for the resource or template section you are editing

What does an integration look like?

Here is a VSCode setup integration example VSCode

How do I set it up?

VS Code

For VS Code please follow the setup/guidelines or install the pre-configured CloudFormation Linter VS Code extension

PyCharm

For PyCharm please follow the setup/guidelines

How do I build and run the tool?

See instructions which describes how to run the tool locally, to generate specifications for only subset of resources or AWS regions.

License

This library is licensed under the Apache 2.0 License.