Example template for creating a new Terraform module.
Basic usage of this module is as follows:
module "example" {
source = "github.com/t04glovern/terraform-repo-template?ref=v1.0.1"
prefix = "abcdefg"
}
More information can be found at Conventional Commits
- fix: a commit of the type fix patches a bug in your codebase (this correlates with
PATCH
in Semantic Versioning). - feat: feat: a commit of the type feat introduces a new feature to the codebase (this correlates with
MINOR
in Semantic Versioning). - !: a commit that has a footer BREAKING CHANGE:, or appends a ! after the type/scope, introduces a breaking API change (correlating with
MAJOR
in Semantic Versioning).- A BREAKING CHANGE can be part of commits of any type.
- docs: updates to documentation such as a the README or other markdown files
- ci: continuous integration related
- chore: changes that do not relate to a fix or feature and don't modify src or test files (for example updating dependencies)
pre-commit run --all-files
Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 5.0 |
Name | Version |
---|---|
aws | >= 5.0 |
No modules.
Name | Type |
---|---|
aws_s3_bucket.example | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
prefix | Prefix for resources | string |
n/a | yes |
No outputs.