Difference between revisions of "Cfn-lint"
Jump to navigation
Jump to search
(7 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>[[ | + | * 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> | ||
* <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 == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == 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}} | ||
− | |||
* {{CloudFormation}} | * {{CloudFormation}} | ||
[[Category:CloudFormation]] | [[Category:CloudFormation]] |
Latest revision as of 09:01, 9 May 2022
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]
cfn-lint
,cfn-lint --help
aws cloudformation deploy, cfn-lint
- AWS CloudFormation: [
aws cloudformation
|create-stack
|list-stacks
|delete-stack
|update-stack
|list-types
|estimate-template-cost
|validate-template
|describe-stacks
|deploy
|drift detection
],aws cloudformation get-template-summary, aws cloudformation describe-stack-events
- IDE, Flutter, Xcode, PyCharm, Visual Studio Code, Cloud9 IDE, Android Studio, WebStorm, GitHub Codespaces
- AWS CloudFormation,
AWS::CloudFormation
AWS CloudFormation Designer, Drift detection, AWS Cloud Development Kit (CDK),aws cloudformation
,ServicesStack:
, AWS CloudFormation Linter (cfn-lint
), Former2, CloudCraft, Change sets, AWS CloudFormation Public Registry, CloudFormation snippets, CloudFormation templates, StackSets,Outputs:
,Type:
,Fn::Sub
,!Ref
, CloudFormation Parameters, AWS CloudFormation Templates, CloudFormation functions
Advertising: