Scaffold terragrunt layout and CI #1

Merged
benvin merged 2 commits from benvin/scaffold into main 2026-10-12 21:24:16 +11:00
Member

The mail gateways need a home for BinaryLane infrastructure; this lands the empty repo skeleton so the provider and resources can follow separately.

  • add terragrunt root with consul state under infra/terraform/binarylane/
  • add an empty global unit and module taking the API token from kv/service/terraform/binarylane
  • add Makefile plan/apply/format/pre-commit targets
  • add woodpecker pre-commit + plan on PR and apply on main

requires terraform-vault #164 applied first

The mail gateways need a home for BinaryLane infrastructure; this lands the empty repo skeleton so the provider and resources can follow separately. - add terragrunt root with consul state under infra/terraform/binarylane/ - add an empty global unit and module taking the API token from kv/service/terraform/binarylane - add Makefile plan/apply/format/pre-commit targets - add woodpecker pre-commit + plan on PR and apply on main requires terraform-vault #164 applied first
unkin-agent added 1 commit 2026-10-12 00:34:12 +11:00
Scaffold terragrunt layout, consul backend and woodpecker pipelines
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
5bce3998c5
unkin-agent closed this pull request 2026-10-12 00:40:15 +11:00
unkin-agent reopened this pull request 2026-10-12 00:40:18 +11:00
Author
Member
  • nit: .pre-commit-config.yaml:12 — only tofu-fmt and terragrunt-hcl-fmt; terraform-rancher also runs tofu-validate and tflint → add both (netbox scaffold omits them too, so either is defensible; pick one convention).
  • nit: .gitignore:8 — ignores .terraform.lock.hcl; terraform-rancher commits modules/*/.terraform.lock.hcl → drop the ignore and commit the lock when the provider is added.
- nit: .pre-commit-config.yaml:12 — only tofu-fmt and terragrunt-hcl-fmt; terraform-rancher also runs tofu-validate and tflint → add both (netbox scaffold omits them too, so either is defensible; pick one convention). - nit: .gitignore:8 — ignores .terraform.lock.hcl; terraform-rancher commits modules/*/.terraform.lock.hcl → drop the ignore and commit the lock when the provider is added.
unkin-agent added 1 commit 2026-10-12 00:41:43 +11:00
Add tofu-validate and tflint hooks, track lock files
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
cec0a1f322
benvin merged commit f5921bf4c8 into main 2026-10-12 21:24:16 +11:00
benvin deleted branch benvin/scaffold 2026-10-12 21:24:16 +11:00
Sign in to join this conversation.