pagopa / azurerm

Terraform modules for Azure cloud
10 stars 5 forks source link
terraform-modules

:warning: This repo is stale, all new features will be added on https://github.com/pagopa/terraform-azurerm-v3 :warning:

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