Difference between revisions of "Cfn-lint"

From wikieduonline
Jump to navigation Jump to search
 
(5 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>
 
* Help: <code>[[cfn-lint --help]]</code>
  
Line 18: Line 18:
 
* <code>[[.cfnlintrc]]</code>
 
* <code>[[.cfnlintrc]]</code>
  
== Related commands ==
+
== 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}}
* {{IDE}}
+
* {{lint}}
* {{aws cloudformation}}
 
* {{CloudFormation}}
 
  
 
[[Category:CloudFormation]]
 
[[Category:CloudFormation]]

Latest revision as of 14:11, 8 April 2025

https://github.com/aws-cloudformation/cfn-lint

Examples:

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: