- 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
40 lines
1.5 KiB
Markdown
40 lines
1.5 KiB
Markdown
# AGENTS.md
|
|
|
|
This file documents the architecture and domain model of this repository, intended for both human readers and AI agents.
|
|
|
|
## Agent skills
|
|
|
|
### Issue tracker
|
|
|
|
Issues are tracked in the Gitea instance at https://git.bobbypalko.com/bobby/hapi. Uses the `gt` CLI (Gitea's official CLI). Run `gt auth login -h https://git.bobbypalko.com` to authenticate. See `docs/agents/issue-tracker.md`.
|
|
|
|
### Triage labels
|
|
|
|
Five canonical triage roles mapped to labels: `needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix`. See `docs/agents/triage-labels.md`.
|
|
|
|
### 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`)
|