30 lines
754 B
HCL
30 lines
754 B
HCL
output "gitea_ip" {
|
|
description = "Public IP of the Gitea droplet"
|
|
value = digitalocean_droplet.gitea.ipv4_address
|
|
}
|
|
|
|
output "k8s_cluster_id" {
|
|
description = "DOKS cluster ID"
|
|
value = digitalocean_kubernetes_cluster.main.id
|
|
}
|
|
|
|
output "postgres_host" {
|
|
description = "Managed Postgres host"
|
|
value = digitalocean_database_cluster.postgres.host
|
|
}
|
|
|
|
output "postgres_port" {
|
|
description = "Managed Postgres port"
|
|
value = digitalocean_database_cluster.postgres.port
|
|
}
|
|
|
|
output "redis_host" {
|
|
description = "Managed Redis/Valkey host"
|
|
value = digitalocean_database_cluster.redis.host
|
|
}
|
|
|
|
output "redis_port" {
|
|
description = "Managed Redis/Valkey port"
|
|
value = digitalocean_database_cluster.redis.port
|
|
}
|