Difference between revisions of "Cfn-lint"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
https://github.com/aws-cloudformation/cfn-lint | https://github.com/aws-cloudformation/cfn-lint | ||
− | * Installation: <code>[[pip3 install]] cfn-lint</code> | + | * Installation: <code>[[pip3 install cfn-lint]]</code> |
+ | * Help: <code>[[cfn-lint --help]]</code> | ||
− | + | Examples: | |
− | |||
* <code>[[cfn-lint file_with_your_stack.yml]]</code> | * <code>[[cfn-lint file_with_your_stack.yml]]</code> | ||
* <code>cfn-lint -t</code> | * <code>cfn-lint -t</code> | ||
Line 18: | Line 18: | ||
* <code>[[.cfnlintrc]]</code> | * <code>[[.cfnlintrc]]</code> | ||
− | == Related | + | == Related == |
* <code>[[terraform fmt]]</code> | * <code>[[terraform fmt]]</code> | ||
* [[Taskcat]] | * [[Taskcat]] | ||
* <code>[[cfn-init]]</code> | * <code>[[cfn-init]]</code> | ||
+ | * <code>[[E1012]] Ref Your_Ref not found as a [[resource]] or [[parameter]]</code> | ||
== See also == | == See also == | ||
* {{cfn-lint}} | * {{cfn-lint}} | ||
− | * {{ | + | * {{lint}} |
− | |||
− | |||
[[Category:CloudFormation]] | [[Category:CloudFormation]] |
Latest revision as of 14:11, 8 April 2025
https://github.com/aws-cloudformation/cfn-lint
- Installation:
pip3 install cfn-lint
- Help:
cfn-lint --help
Examples:
cfn-lint file_with_your_stack.yml
cfn-lint -t
cfn-lint --version
cfn-lint your_file.yml E0000 Null value at line 1 column 8 your_file.yml:1:8
Configuration files[edit]
Related[edit]
See also[edit]
Advertising: