Giter VIP home page Giter VIP logo

terraform-module-template's Introduction

Terraform Module Template

In the future this repository will be integrated with a unified command line, for now you can copy the content of this repository to your new terraform module, both for GCP or AWS.

Prerequisites(s)

Please make sure you are working on some kind of this environment and installed software bellow:

Feature(s)

This template contains some basic linter and convention below:

  • Terraform linter
  • Terraform docs creator
  • Conflict on merge check
  • Symlink check
  • YAML linter
  • Private key detector ( Why do you need to store private key in repository? )
  • Trailing whitespace fixer
  • End of file fixer

How to get started

Please follow this instruction to start the deployment smoothly:

Please use semantic commit1 to generate good changelog.

To interact with the make script, here are some information you need to know based on semtag documentation:

VERSION:
  - final: Bumps the version top a final version
  - alpha: Bumps the version top an alpha version (appending -alpha.# to the version)
  - beta: Bumps the version top a beta version (appending -beta.# to the version)
  - candidate: Bumps the version top an release candidate version (appending -rc.# to the version)

SCOPE:
  - major
  - minor
  - patch

The format for scope based on semantic versioning format v<major>.<minor>.<patch>

For more information and details please visit semtag

Available commands

To setup the project run

~ make setup

To create changelog run:

~ make changelog version=<version> scope=<scope>

To create release run:

~ make release version=<version> scope=<scope>

Footnotes

Footnotes

  1. Semantic commit following this format: <type>(<scope>): <subject> | <scope> is optional

    feat(core): A subject that matters
    ^--^  	  ^------------^
    |     	  |
    |     	  +-> Summary in present tense.
    |
    +-------> Type: feat, fix, docs, style, refactor, test, chore
    
    โ†ฉ

terraform-module-template's People

Contributors

romanbonapart avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.