01a: update Linode Terraform for provider v2

- Update all modules to use Linode provider v2 (linode/linode ~> 2.0)
- Replace deprecated cluster attribute with region in all modules
- Update firewall to use ipv4/ipv6 instead of cidrs (TCP/UDP protocols)
- Update LKE endpoint output to use api_endpoints[0] instead of deprecated hostname
- Add OBJECT_STORAGE_CLUSTER variable for object storage configuration
- Update Makefile with new variables and validate target
- Add storage/outputs.tf for standardized object storage outputs
- Update .env and .env.example with clean format (no inline comments)
- Update all terraform.tfvars.example files for consistency
This commit is contained in:
Bobby committed 2026-11-17 22:09:31 -05:00
1 parent 341cd05ac5
commit 494f38c1f3
17 files changed
+285 -203

No files matched your search

+4 -4
View File
@@ -4,10 +4,10 @@
# Linode Object Storage as Terraform backend
# Copy this to your terraform.tfvars or set as environment variables
linode_token = "<YOUR_LINODE_API_TOKEN>"
linode_region = "us-east"
environment = "staging" # or "production"
project_name = "hapi"
linode_token = "<YOUR_LINODE_API_TOKEN>"
linode_region = "us-east"
environment = "staging" # or "production"
project_name = "hapi"
# Object Storage credentials
object_storage_access_key = "<YOUR_ACCESS_KEY>"