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

@@ -128,9 +128,24 @@ make output # Show outputs
4. Create runbooks for common operations (scaling, backups, troubleshooting)
5. Set up monitoring for infrastructure resources
## Provider Versions
### Linode Terraform Provider v2
ADR-0002 documents the migration from provider v1 to v2, which is implemented in the current branch. Key changes include:
- Object Storage `cluster` → `region` attribute
- Firewall rules updated to v2 format with `action`, `ipv4`, `ipv6`
- LKE `pools` → `pool`
- Tags converted to set format
See [`0002-linode-provider-v2-migration.md`](./0002-linode-provider-v2-migration.md) for full details.
## References
- [Issue 1: Linode Infrastructure with Terraform](../../issues/1)
- [Linode Terraform Provider](https://registry.terraform.io/providers/linode/linode/latest/docs)
- [ADR-0002: Linode Provider v2 Migration](./0002-linode-provider-v2-migration.md)
- [Linode Terraform Provider v2.0 Release](https://github.com/linode/terraform-provider-linode/releases/tag/v2.0.0)
- [Linode Provider Migration Guide](https://registry.terraform.io/providers/linode/linode/latest/docs/guides/version-2-upgrade)
- [Terraform Best Practices](https://developer.hashicorp.com/terraform/tutorials/best-practices)
- [HAPI MVP Spec](../../MVP-SPEC.md)