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:
1 parent
27abc1891b
commit
a5047cb72e
17 files changed
+581
-121
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Backend outputs
|
||||
|
||||
output "backend_bucket" {
|
||||
description = "Name of the state bucket"
|
||||
value = "hapi-terraform-state-${var.environment}"
|
||||
}
|
||||
|
||||
output "backend_key" {
|
||||
description = "Path to state file within bucket"
|
||||
value = "hapi/terraform.tfstate"
|
||||
}
|
||||
|
||||
output "backend_region" {
|
||||
description = "Object Storage cluster/region"
|
||||
value = var.linode_object_storage_cluster
|
||||
}
|
||||
|
||||
output "backend_endpoint" {
|
||||
description = "S3-compatible endpoint URL"
|
||||
value = "${var.linode_object_storage_cluster}.linodeobjects.com"
|
||||
}
|
||||
Reference in new issue
Block a user