feat: Linode Provider v2 migration and backend module

- Documented Linode Terraform Provider v2 migration in ADR-0002
- Created dedicated backend module for state storage
- Updated all modules for v2 patterns (cluster→region, pools→pool, tags)
- Added firewall outputs and backend outputs
- Updated example tfvars files with v2 configurations
- Updated AGENTS.md, README.md, and documentation
This commit is contained in:
Bobby committed 2026-11-17 23:29:19 -05:00
1 parent 27abc1891b
commit a5047cb72e
17 files changed
+581 -121

No files matched your search

+22
View File
@@ -15,3 +15,25 @@ Five canonical triage roles mapped to labels: `needs-triage`, `needs-info`, `rea
### Domain docs
Single-context layout: `GLOSSARY.md` at repo root and `docs/adr/` for architecture decisions. See `docs/agents/domain.md`.
### Infrastructure modules
The `infra/` directory contains Terraform configurations with these modules:
- `backend/` - Terraform state backend (Object Storage S3-compatible)
- `postgres/` - LKE clusters for staging/production
- `storage/` - Object Storage buckets for uploads and state
- `network/` - Firewall rules for API (8000), PostgreSQL (5432), Adminer (8080)
See `infra/README.md` and `docs/adr/0002-linode-provider-v2-migration.md` for details.
## Provider Versions
### Linode Terraform Provider
**v2.0+** (current branch) - Migrated from v1 with breaking changes documented in ADR-0002. Key differences:
- Object Storage: `cluster` → `region`
- Firewall: Updated format with `action`, `ipv4`, `ipv6`
- LKE: `pools` → `pool`
- Tags: Set format (`key=value`)