VS Code CloudFormation Linter uses cfn-lint to lint your CloudFormation templates.
-
Uses cfn-lint to parse the template and show problems with it.
-
Uses pydot to preview the template as a graph of resources.
Requires cfn-lint
to be installed: pip install cfn-lint
.
If you want to be able to preview templates as graphs, you also need to install pydot
: pip install pydot
.
cfnLint.path
: path to thecfn-lint
command, optionally including parameters as well:
Join us on Discord! Connect & interact with CloudFormation developers & experts, find channels to discuss and get help for cfn-lint, CloudFormation registry, StackSets, Guard and more:
The code for this plugin can be found on GitHub at awslabs/aws-cfn-lint-visual-studio-code