boma/terraform/environments/production/backend.tf
sjat 905bc92b15 Use local Terraform state; drop unworkable Forgejo HTTP backend (R10b)
Forgejo's /raw/ API is read-only so it cannot serve as a Terraform HTTP state
backend. Switch both envs to local state on the control node (ADR-006); remove
the dead TF_HTTP_* credential hints.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-30 21:34:05 +02:00

9 lines
424 B
HCL

# Terraform state: LOCAL, on the control node.
#
# Forgejo (Gitea-based) has no usable Terraform HTTP state backend — its API
# `/raw/` endpoint is read-only, so state cannot be written there. State therefore
# lives locally as `terraform.tfstate` (gitignored); back it up with the control
# node. See ADR-006.
#
# To adopt a real remote backend later (e.g. MinIO/S3), add a
# `terraform { backend "..." {} }` block here.