Skip to content

This CookieCutter Template generates Terraform Modules with all the best practices.

License

Notifications You must be signed in to change notification settings

TerraformInDepth/terraform-module-cookiecutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Module Cookiecutter

This CookieCutter Template generates Terraform Modules with all the best practices.

To use this template install CookieCutter and run this command:

cookiecutter gh:TerraformInDepth/terraform-module-cookiecutter

You will then be asked a few questions, such as what provider you are using, which will be used to generate a customized project.

If your project has custom (but repeated) needs you can always fork this template to add any customizations your team might want.

Features

  • Security Scanning with Checkov and Trivy.
  • Quality Control with TFLint.
  • Formatting and Validation with Terraform and OpenTofu.
  • CI using Github Actions Workflows.
  • Git Hooks with the Pre-Commit Framework.
  • Terraform and OpenTofu version management with tenv.
  • Testing with Terratest and Terraform Testing Framework.

Terraform in Depth

This template was developed alongside Terraform in Depth, which is currently in the Manning Early Access Program. As new content is released in the book this template will be updated.

About

This CookieCutter Template generates Terraform Modules with all the best practices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published