- 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
22 lines
542 B
Terraform
22 lines
542 B
Terraform
# 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"
|
|
}
|