This repository provides up-to-date AWS CloudFormation JSON schemas for use in IDEs and other development tools.
AWS CloudFormation schemas allow for validation, autocompletion, and documentation of CloudFormation templates in supporting IDEs. This repository automatically fetches the latest CloudFormation template schemas from the official AWS repository and makes them available in an easily consumable format.
- An automated GitHub Actions workflow runs every 8 hours to check for schema updates
- The workflow pulls the latest schemas from the AWS CloudFormation Template Schema repository
- Updated schemas are stored in the
schema/
directory and committed to this repository - When changes are detected, a pull request is automatically created
- Install the CloudFormation Linter extension
- Configure the extension to use these schemas:
{
"cfnlint.schema": {
"cloudformation": "https://raw.githubusercontent.com/whi-tw/cfn-schema/main/schema/base.schema.json"
}
}
Most IDEs with JSON schema support can be configured to use these schemas. Point your IDE to:
https://raw.githubusercontent.com/whi-tw/cfn-schema/main/schema/base.schema.json
Contributions are welcome! Please feel free to submit a Pull Request.
This repository is provided as-is with no explicit license. The AWS CloudFormation Template Schema is governed by its own licensing terms.
This repository is powered by the following projects:
- AWS CloudFormation Template Schema
- vscode-cfn-lint - The GitHub Actions workflow for schema generation was adapted from this project