feat: initial commit #3

Merged
benvin merged 3 commits from benvin/add-missing-registries into main 2026-07-03 23:35:30 +10:00
Owner
  • add modules
  • add config
  • add environments
  • add .gitignore
  • add makefile

Wire up config.hcl, variables, and terragrunt inputs for all new types.

- add modules - add config - add environments - add .gitignore - add makefile Wire up config.hcl, variables, and terragrunt inputs for all new types.
unkinben force-pushed benvin/add-missing-registries from 12d94dc5fb to 65b1f7d225 2026-07-03 17:25:43 +10:00 Compare
unkinben force-pushed benvin/add-missing-registries from 65b1f7d225 to ea25aa5bb8 2026-07-03 21:26:59 +10:00 Compare
unkinben added 1 commit 2026-07-03 21:29:06 +10:00
feat: initial commit
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
9058eb3f59
- add modules
- add config
- add environments
- add .gitignore
- add makefile

Wire up config.hcl, variables, and terragrunt inputs for all new types.
unkinben force-pushed benvin/add-missing-registries from ea25aa5bb8 to 9058eb3f59 2026-07-03 21:29:06 +10:00 Compare
unkinben added 1 commit 2026-07-03 21:48:58 +10:00
fix(ci): clear stale provider locks before init
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline failed
292392a024
The provider source moved from git.unkin.net/unkin/artifactapi to
artifactapi.k8s.syd1.au.unkin.net/terraform-unkin/artifactapi. .terraform.lock.hcl
is gitignored, so a CI runner reusing a workspace/cache keeps a lock pinning the
old source; some OpenTofu versions then try to re-resolve git.unkin.net (which
isn't a registry) instead of dropping it, failing init.

Delete any .terraform.lock.hcl before `terragrunt run --all init -- -upgrade` so
providers resolve purely from config.
unkinben added 1 commit 2026-07-03 23:34:20 +10:00
fix: declare provider requirement in the artifactapi module
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
9351ea30a9
pre-commit runs `tofu validate`/tflint on modules/artifactapi standalone, where
no required_providers was declared, so OpenTofu inferred hashicorp/artifactapi
and failed (and tflint flagged missing required_version/version constraint).

- add modules/artifactapi/versions.tf declaring required_version and the
  artifactapi provider (source = the registry, version >= 0.1.2)
- drop the now-duplicate required_providers from root.hcl's generated backend.tf;
  keep the provider config block + backend. Declaring it in both the module and
  the generated root would be a "Duplicate required providers" error at runtime.

Also revert the earlier init lock-cleanup: the CI failure was stale provider
references in state (fixed with `tofu state replace-provider`), not the lock.
benvin merged commit 38ab457ac1 into main 2026-07-03 23:35:30 +10:00
benvin deleted branch benvin/add-missing-registries 2026-07-03 23:35:31 +10:00
Sign in to join this conversation.