terraform-module-template
terraform-aws-consul-starter
terraform-module-template | terraform-aws-consul-starter | |
---|---|---|
6 | 1 | |
71 | 21 | |
- | - | |
6.1 | 10.0 | |
8 days ago | over 3 years ago | |
Go | HCL | |
Apache License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terraform-module-template
-
Treating your terraform code "as an app". Favouring inputs over code changes. I wish I saw more like this in places I worked at.
You should not use multiple optional inputs, at least not if those are going to be used to decide to create optional resources. Instead you should favor composition of modules. An example of composition using "Higher order modules" can be found here https://github.com/DontShaveTheYak/terraform-module-template
-
Most common devOps tasks?
Yeah I do. I'm actually the author of the https://github.com/DontShaveTheYak/terraform-module-template That sets up all those tools for you.
-
Terraform Module Template
A higher-order module is just a module that calls another module to extend that modules functionality. You can see it being used here https://github.com/DontShaveTheYak/terraform-module-template/tree/main/modules/greet_multiple
-
This is the best way to create a Terraform module!
My latest project is https://github.com/DontShaveTheYak/terraform-module-template
- Show HN: Terraform module template with pre-configured CICD
terraform-aws-consul-starter
-
Terraform Module Template
You can see the same structure in the official Consul module provided by Hashicorp as well as in the AWS community modules, like here in the VPC module.
What are some alternatives?
terraform-aws-vpc - Terraform module to create AWS VPC resources πΊπ¦
personal-zero-trust-hashicorp-vault - Cloudflare for Teams + HashiCorp Vault = Zero Trust Love
terraform-aws-eks - Terraform module to create AWS Elastic Kubernetes (EKS) resources πΊπ¦
terraform-docs - Generate documentation from Terraform modules in various output formats
tflint - A Pluggable Terraform Linter
terraform-layout-example - Example of a Truss Terraform project
pre-commit-terraform - pre-commit git hooks to take care of Terraform configurations πΊπ¦
terratest - Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
checkov - Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
learn-terraform-github-actions
atlantis - Terraform Pull Request Automation