AWS CloudFormation Tools
AWS CloudFormation Tools
CloudFormation templates
Terraform
Troposphere
Pulumi – TypeScript
TaskCat
A tool that automates the testing of CloudFormation templates
https://github.com/aws-quickstart/taskcat
You provide
AWS Regions and the number of AZs you want to include in the test
cfn-nag
A tool that looks for patterns in CloudFormation templates that may indicate
insecure infrastructure https://github.com/stelligent/cfn_nag
Examples:
IAM rule and Security Group rules that are too permissive (wildcards)
Password literals
CloudFormation cheatsheet
Summarizes the usage of !Ref and !GetAtt with CloudFormation resources
https://theburningmonk.com/cloudformation-ref-and-getatt-cheatsheet/
aws-cfn-template-flip
A tool that converts CloudFormation templates between JSON and YAML formats
https://github.com/awslabs/aws-cfn-template-flip
cfn-diagram
A tool to visualize CloudFormation/SAM/CDK templates as diagrams
https://github.com/mhlabs/cfn-diagram
Different layouts
cfn-format
A tool that reads a CloudFormation template and outputs a cleanly-formatted copy
adhering to CloudFormation standards https://github.com/awslabs/aws-cloudformation-
template-formatter
awesome-cloudformation
Reference list for open-source projects related to CloudFormation:
https://github.com/aws-cloudformation/awesome-cloudformation
Template Validation
You can validate your CloudFormation template to catch syntax and semantic errors,
before CloudFormation creates any resources
CloudFormation Console automatically validates the template after you specify input
parameters
cfn-lint: https://github.com/aws-cloudformation/cfn-lint
cfn-guard: https://github.com/aws-cloudformation/cloudformation-guard