Files
Max Vojtkov a6d8aa8b52 A Terraform provider for Dokploy
Plugin-framework provider covering projects, environments, applications,
Compose stacks, managed databases, domains, mounts, ports, redirects,
basic auth, registries, SSH keys, certificates and backup destinations,
over Dokploy's tRPC-over-REST API.

The shim package exposes the provider to other Go modules, which is how
pulumi-dokploy bridges it.
2026-08-09 12:17:26 +03:00

30 lines
912 B
HCL

output "id" {
description = "Application identifier."
value = dokploy_application.this.id
}
output "app_name" {
description = "Docker service name Dokploy assigned to the application."
value = dokploy_application.this.app_name
}
output "status" {
description = "Current application status reported by Dokploy."
value = dokploy_application.this.application_status
}
output "domain_ids" {
description = "Domain identifiers keyed by hostname."
value = { for host, domain in dokploy_domain.this : host => domain.id }
}
output "urls" {
description = "Public URLs the service is reachable on."
value = [for domain in var.domains : "${domain.https ? "https" : "http"}://${domain.host}${domain.path}"]
}
output "mount_ids" {
description = "Mount identifiers keyed by container path."
value = { for path, mount in dokploy_mount.this : path => mount.id }
}