Difference between revisions of "Cfn-lint"

From wikieduonline
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>[[pip install]] cfn-lint</code>
+
* Installation: <code>[[pip3 install]] cfn-lint</code>
 +
* Help: <code>[[cfn-lint --help]]</code>
  
 
+
Examples:
* <code>[[cfn-lint --help]]</code>
 
 
* <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>
 
* <code>cfn-lint --version</code>
 
* <code>cfn-lint --version</code>
 +
 +
cfn-lint your_file.yml
 +
E0000 Null value at line 1 column 8
 +
your_file.yml:1:8
  
  
Line 14: 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}}
 +
* {{aws cloudformation deploy}}
 +
* {{aws cloudformation}}
 
* {{IDE}}
 
* {{IDE}}
* {{aws cloudformation}}
 
 
* {{CloudFormation}}
 
* {{CloudFormation}}
  
 
[[Category:CloudFormation]]
 
[[Category:CloudFormation]]

Revision as of 09:01, 9 May 2022

Advertising: