infra/stacks/platform/main.tf

50 lines
1.2 KiB
Terraform
Raw Permalink Normal View History

# =============================================================================
# Platform Stack — Empty Shell (all modules extracted)
# =============================================================================
#
# All modules have been extracted to independent stacks.
# This stack remains as a dependency target for 72+ app stacks
# that declare `dependency "platform" { skip_outputs = true }`.
#
# Outputs are kept as variable pass-throughs for any stacks
# that may read them (though most use skip_outputs = true).
# =============================================================================
variable "tls_secret_name" { type = string }
2026-02-23 22:05:28 +00:00
variable "redis_host" { type = string }
variable "postgresql_host" { type = string }
variable "mysql_host" { type = string }
variable "mail_host" { type = string }
output "tls_secret_name" {
value = var.tls_secret_name
}
output "redis_host" {
2026-02-23 22:05:28 +00:00
value = var.redis_host
}
output "postgresql_host" {
2026-02-23 22:05:28 +00:00
value = var.postgresql_host
}
output "postgresql_port" {
value = 5432
}
output "mysql_host" {
2026-02-23 22:05:28 +00:00
value = var.mysql_host
}
output "mysql_port" {
value = 3306
}
output "smtp_host" {
2026-02-23 22:05:28 +00:00
value = var.mail_host
}
output "smtp_port" {
value = 587
}