Skip to content

Latest commit

 

History

History
70 lines (45 loc) · 2.73 KB

File metadata and controls

70 lines (45 loc) · 2.73 KB

dependabot editorconfig pre-commit release-please

Terraform modules

pihole

Development

Required software:

pre-commit

This repository uses pre-commit hooks. Please install it during development and install hooks after every git clone:

pre-commit install --install-hooks
pre-commit run --all-files

It is also used in the Pre-commit run GitHub workflow, which serves as a Required status check to validate the contents of the entire repository. If any changes are made during the workflow run, it automatically creates a pull request.

Run

Enter module directory, initialize, plan and apply the module:

cd modules/$MODULE_NAME

terraform init
terraform plan
terraform apply

Test

Execute unit tests in module's tests directory:

cd modules/$MODULE_NAME

terraform test

Dependencies

Dependencies are maintained by Dependabot. Its configuration can be found in dependabot.yml.

NOTE: Make sure it is enabled in the repository Settings.

Releases

Module is versioned and released as a "GitHub Release" by release-please. Its configuration can be found in:

NOTE: New versions should not be created manually.