Skip to content

Template for creating a new TerraForm AWS Module. For TechNative Engineers.

License

Notifications You must be signed in to change notification settings

TechNative-B-V/terraform-aws-module-template

Repository files navigation

START INSTRUCTION FOR TECHNATIVE ENGINEERS

terraform-aws-module-template

Template for creating a new TerraForm AWS Module. For TechNative Engineers.

Instructions

Your Module Name

Think hard and come up with the shortest descriptive name for your module. Look at competition in the terraform registry.

Your module name should be max. three words seperated by dashes. E.g.

  • html-form-action
  • new-account-notifier
  • budget-alarms
  • fix-missing-tags

Setup Github Project

  1. Click the template button on the top right...
  2. Name github project terraform-aws-[your-module-name]
  3. Make project private untill ready for publication
  4. Add a description in the About section (top right)
  5. Add tags: terraform, terraform-module, aws and more tags relevant to your project: e.g. s3, lambda, sso, etc..
  6. Install pre-commit

Develop your module

  1. Develop your module
  2. Try to use the best practices for TerraForm development and TerraForm AWS Development.

Finish project documentation

  1. Set well written title
  2. Add one or more shields
  3. Start readme with a short and complete as possible module description. This is the part where you sell your module.
  4. Complete README with well written documentation. Try to think as a someone with three months of Terraform experience.
  5. Check if pre-commit correctly generates the standard Terraform documentation.

Publish module

If your module is in a state that it could be useful for others and ready for publication, you can publish a first version.

  1. Create a Github Release
  2. Publish in the TerraForm Registry under the Technative Namespace (the GitHub Repo must be in the TechNative Organization)

END INSTRUCTION FOR TECHNATIVE ENGINEERS

Terraform AWS [Module Name]

This module implements ...

How does it work

First use after you clone this repository or when .pre-commit-config.yaml is updated

Run pre-commit install to install any guardrails implemented using pre-commit.

See pre-commit installation on how to install pre-commit.

...

Usage

To use this module ...

{
  some_conf = "might need explanation"
}

About

Template for creating a new TerraForm AWS Module. For TechNative Engineers.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages