- 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
73 lines
1.8 KiB
Terraform
73 lines
1.8 KiB
Terraform
# Outputs for HAPI Terraform infrastructure
|
|
|
|
output "postgres_endpoint" {
|
|
description = "PostgreSQL endpoint for the environment (Kubernetes API endpoint)"
|
|
value = module.postgres.endpoint
|
|
}
|
|
|
|
output "postgres_port" {
|
|
description = "PostgreSQL port"
|
|
value = module.postgres.port
|
|
}
|
|
|
|
output "postgres_database" {
|
|
description = "PostgreSQL database name"
|
|
value = module.postgres.database
|
|
}
|
|
|
|
output "postgres_username" {
|
|
description = "PostgreSQL username"
|
|
value = module.postgres.username
|
|
}
|
|
|
|
output "postgres_password" {
|
|
description = "PostgreSQL password (sensitive)"
|
|
value = module.postgres.password
|
|
sensitive = true
|
|
}
|
|
|
|
output "object_storage_endpoint" {
|
|
description = "Object Storage endpoint"
|
|
value = module.storage.endpoint
|
|
}
|
|
|
|
output "object_storage_access_key" {
|
|
description = "Object Storage access key"
|
|
value = module.storage.access_key
|
|
}
|
|
|
|
output "object_storage_secret_key" {
|
|
description = "Object Storage secret key (sensitive)"
|
|
value = module.storage.secret_key
|
|
sensitive = true
|
|
}
|
|
|
|
output "firewall_rules" {
|
|
description = "Firewall rules configuration"
|
|
value = module.network.firewall_rules
|
|
}
|
|
|
|
output "firewall_id" {
|
|
description = "Linode firewall ID"
|
|
value = module.network.firewall_id
|
|
}
|
|
|
|
output "firewall_label" {
|
|
description = "Linode firewall label"
|
|
value = module.network.firewall_label
|
|
}
|
|
|
|
output "terraform_backend_config" {
|
|
description = "Configuration for Terraform backend in Object Storage"
|
|
value = {
|
|
bucket = module.backend.backend_bucket
|
|
key = module.backend.backend_key
|
|
region = module.backend.backend_region
|
|
}
|
|
}
|
|
|
|
output "backend_endpoint" {
|
|
description = "Object Storage endpoint for backend state"
|
|
value = module.backend.backend_endpoint
|
|
}
|