Home

Awesome

azurerm modules

Static Analysis

Terraform Azure modules

Semantic versioning

This repo use standard semantic versioning according to https://www.conventionalcommits.org.

We use keywords in PR title to determinate next release version.

If first commit it's different from PR title you must add at least a second commit.

Due this issue https://github.com/semantic-release/commit-analyzer/issues/231 use breaking keyword to trigger a major change release.

Precommit checks

tfenv setup

Set the terraform version with tfenv, before launch pre-commit to avoid errors

tfenv use <x.y.x>

Run pre-commit on local machine

Check your code before commit.

https://github.com/antonbabenko/pre-commit-terraform#how-to-install

# for terraform modules we need to initialize them with
bash .utils/terraform_run_all.sh init local
pre-commit run -a

Migration from azurerm v2

If you use this modules as replace for the olds modules v2. Please follow this list Migration List, and read for each module the README to understand wich procedure you need to follow to execute the migration.

Migration of resources (not modules)

Follow this guide for all this resources that are not a module Migration resources