An open API service indexing awesome lists of open source software.

https://github.com/awesomelistsio/awesome-terraform

A curated list of awesome Terraform modules, tools, resources, and learning material.
https://github.com/awesomelistsio/awesome-terraform

List: awesome-terraform

awesome awesome-list awesome-lists infrastructure infrastructure-as-code open-source terraform

Last synced: about 2 months ago
JSON representation

A curated list of awesome Terraform modules, tools, resources, and learning material.

Awesome Lists containing this project

README

          

# Awesome Terraform [![Awesome Lists](https://srv-cdn.himpfen.io/badges/awesome-lists/awesomelists-flat.svg)](https://github.com/awesomelistsio/awesome)

[![Ko-Fi](https://srv-cdn.himpfen.io/badges/kofi/kofi-flat.svg)](https://ko-fi.com/awesomelists)   [![PayPal](https://srv-cdn.himpfen.io/badges/paypal/paypal-flat.svg)](https://www.paypal.com/donate/?hosted_button_id=3LLKRXJU44EJJ)   [![Stripe](https://srv-cdn.himpfen.io/badges/stripe/stripe-flat.svg)](https://tinyurl.com/e8ymxdw3)   [![X](https://srv-cdn.himpfen.io/badges/twitter/twitter-flat.svg)](https://x.com/ListsAwesome)   [![Facebook](https://srv-cdn.himpfen.io/badges/facebook-pages/facebook-pages-flat.svg)](https://www.facebook.com/awesomelists)

> A curated list of awesome Terraform modules, tools, resources, and learning material.

Terraform is an open-source Infrastructure as Code (IaC) software tool created by HashiCorp. It allows users to define and provision infrastructure using a high-level configuration language.

## Contents

- [Official Resources](#official-resources)
- [Getting Started](#getting-started)
- [Learning](#learning)
- [Modules](#modules)
- [Tools](#tools)
- [Providers](#providers)
- [Security](#security)
- [CI/CD Integration](#cicd-integration)
- [State Management](#state-management)
- [Testing](#testing)
- [Templates & Boilerplates](#templates--boilerplates)
- [Community & Forums](#community--forums)
- [Related Awesome Lists](#related-awesome-lists)

## Official Resources

- [Terraform Homepage](https://www.terraform.io/) – Official site by HashiCorp.
- [Terraform Documentation](https://developer.hashicorp.com/terraform/docs) – Complete user documentation.
- [Terraform GitHub](https://github.com/hashicorp/terraform) – Source code repository.

---

## Getting Started

- [Learn Terraform (HashiCorp)](https://learn.hashicorp.com/terraform) – Official tutorials from HashiCorp.
- [Introduction to Terraform](https://developer.hashicorp.com/terraform/intro) – Overview and benefits.

## Learning

- [Terraform Up & Running (Book)](https://www.terraformupandrunning.com/) – Practical introduction to Terraform.
- [Awesome Terraform Study Guide](https://github.com/antonbabenko/terraform-best-practices) – Best practices and conventions.
- [FreeCodeCamp Terraform Crash Course](https://www.youtube.com/watch?v=SLB_c_ayRMo) – Video tutorial.

## Modules

- [Terraform Registry](https://registry.terraform.io/) – Official source for community-contributed modules.
- [Gruntwork Modules](https://github.com/gruntwork-io/terraform-aws-architecture) – Production-ready AWS modules.
- [Cloudposse Modules](https://github.com/cloudposse) – Extensive library of reusable infrastructure modules.

## Tools

- [Terragrunt](https://github.com/gruntwork-io/terragrunt) – Thin wrapper for Terraform that manages remote state and enforces DRY.
- [tflint](https://github.com/terraform-linters/tflint) – Linter for Terraform.
- [terraform-docs](https://github.com/terraform-docs/terraform-docs) – Generate documentation from Terraform modules.
- [tfsec](https://github.com/aquasecurity/tfsec) – Static analysis for Terraform security issues.
- [Pre-commit Terraform Hooks](https://github.com/antonbabenko/pre-commit-terraform) – Pre-commit hooks for formatting, validation, docs, etc.

## Providers

- [AWS Provider](https://registry.terraform.io/providers/hashicorp/aws/latest) – Manage AWS resources.
- [Google Cloud Provider](https://registry.terraform.io/providers/hashicorp/google/latest) – Manage GCP resources.
- [Azure Provider](https://registry.terraform.io/providers/hashicorp/azurerm/latest) – Manage Azure resources.
- [Kubernetes Provider](https://registry.terraform.io/providers/hashicorp/kubernetes/latest) – Manage Kubernetes resources.

## Security

- [tfsec](https://github.com/aquasecurity/tfsec) – Security scanner for Terraform.
- [Checkov](https://github.com/bridgecrewio/checkov) – Static analysis for security and compliance.
- [Open Policy Agent (OPA)](https://www.openpolicyagent.org/) – Use with Terraform to enforce policies.
- [Terrafirma](https://github.com/marketplace/actions/terrafirma) – Security risk assessment via GitHub Action.

## CI/CD Integration

- [GitHub Actions for Terraform](https://github.com/hashicorp/setup-terraform) – Official GitHub Action.
- [Atlantis](https://www.runatlantis.io/) – Terraform automation for teams via pull requests.
- [Spacelift](https://spacelift.io/) – CI/CD platform for Terraform workflows.

## State Management

- [Remote State with S3 and DynamoDB](https://developer.hashicorp.com/terraform/language/state/remote) – Official guide to remote state backends.
- [Terraform Locking Guide](https://developer.hashicorp.com/terraform/language/state/locking) – Prevent state file conflicts.

## Testing

- [Kitchen-Terraform](https://github.com/newcontext-oss/kitchen-terraform) – Test harness using Test Kitchen.
- [Terratest](https://github.com/gruntwork-io/terratest) – Go library for integration testing of infrastructure.

## Templates & Boilerplates

- [Terraform AWS Starter](https://github.com/terraform-aws-modules/terraform-aws-vpc) – Common AWS patterns.
- [terraform-boilerplate](https://github.com/segmentio/terraform-boilerplate) – Base layout for Terraform projects.

## Community & Forums

- [Terraform GitHub Discussions](https://github.com/hashicorp/terraform/discussions)
- [HashiCorp Discuss Forums](https://discuss.hashicorp.com/c/terraform/)
- [r/Terraform](https://www.reddit.com/r/Terraform/)
- [Terraform Slack](https://slack.hashicorp.com/) – Join the community chat.

## Related Awesome Lists

- **[Awesome DevOps](https://github.com/awesomelistsio/awesome-devops)**
- **[Awesome AWS](https://github.com/awesomelistsio/awesome-aws)**
- **[Awesome Cloud Native](https://github.com/awesomelistsio/awesome-cloud-native)**
- **[Awesome Infrastructure as Code](https://github.com/awesomelistsio/awesome-iac)**

## Contribute

Contributions are welcome!

## License

[![CC0](https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg)](http://creativecommons.org/licenses/by-sa/4.0/)