dokploy_pushover_notification (Data Source)
Looks up a Pushover notification channel that already exists in Dokploy (Settings > Notifications):
data "dokploy_pushover_notification" "ops" {
name = "ops"
}~> The data source does not expose the user key and the API token (user_key, api_token). Each attribute exists on the dokploy_pushover_notification resource, but not here, by design. A consumer needs only the id.
~> Dokploy does not enforce name uniqueness. If two Pushover notification channels share a name, this data source fails instead of a guess. Look the record up by id in that case.
Example Usage
data "dokploy_pushover_notification" "example" {
id = "your-notification-id"
}
data "dokploy_pushover_notification" "ops" {
name = "ops"
}Schema
Optional
id(String) Pushover notification channel id. Set it for a lookup by id, or leave it unset and setname.name(String) Display name as shown in Dokploy. Set exactly one ofidorname.
Read-Only
app_build_error(Boolean) Whether the channel gets a message when a build fails.app_deploy(Boolean) Whether the channel gets a message when an application or a compose deploys.created_at(String) Creation timestamp from the server.database_backup(Boolean) Whether the channel gets a message when a database backup runs.docker_cleanup(Boolean) Whether the channel gets a message when the Docker cleanup runs.dokploy_backup(Boolean) Whether the channel gets a message when the Dokploy server backup runs.dokploy_restart(Boolean) Whether the channel gets a message when Dokploy restarts.expire(Number) Seconds after which an emergency message stops repeating, or null.priority(Number) Message priority from-2(lowest) to2(emergency).retry(Number) Seconds between repeats of an emergency message, or null.server_threshold(Boolean) Whether the channel gets a message when a server crosses a resource threshold.volume_backup(Boolean) Whether the channel gets a message when a volume backup runs.