- 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
28 lines
686 B
Terraform
28 lines
686 B
Terraform
# Outputs for Object Storage module
|
|
|
|
output "endpoint" {
|
|
description = "Object Storage endpoint"
|
|
value = var.linode_object_storage_cluster
|
|
}
|
|
|
|
output "access_key" {
|
|
description = "Object Storage access key"
|
|
value = var.object_storage_access_key
|
|
}
|
|
|
|
output "secret_key" {
|
|
description = "Object Storage secret key (sensitive)"
|
|
value = var.object_storage_secret_key
|
|
sensitive = true
|
|
}
|
|
|
|
output "state_bucket_name" {
|
|
description = "Name of the Terraform state bucket"
|
|
value = "hapi-terraform-state-${var.environment}"
|
|
}
|
|
|
|
output "uploads_bucket_name" {
|
|
description = "Name of the uploads bucket"
|
|
value = "hapi-uploads-${var.environment}"
|
|
}
|