runr_project (Data Source)
An existing project, looked up by name (or slug) or id.
Example Usage#
data "runr_project" "api" {
name = "orders-api"
}
output "api_url" {
value = data.runr_project.api.endpoint_url
}
Schema#
Optional#
id(String) Project id.name(String) Project name or slug.
Read-Only#
access_mode(String) Who reaches the project:public,allowlistorinternal(null on APIs without network settings).deploy_strategy(String) How deploys roll out:direct,blue_greenorcanary.deployment_status(String) Status of the latest deployment.endpoint_url(String) Public URL (HTTP trigger).global_regions(List of String) Region ids of a global project in HA order; null for a regional project.handler(String) Handler (code projects).image(String) Container image (caas).internal_name(String) Internal name<project>.<organization>, for another project'snetwork.callers.internal_url(String) The URL other projects of the region call it at on the internal network.latest_version_id(String) Newest version id.latest_version_label(String) Newest version label.placement(String)regionalorglobal.region_id(String) Region id.region_name(String) Region name.runtime(String) Runtime (code projects).runtime_version(String) Runtime version.scale_schedule(Attributes List) Timed warmer: each row keeps at leastmin_scalecontainers warm from the moment its five-fieldcronexpression fires until the next row fires. The expressions run in the organization's time zone (its Time zone setting, default Europe/Istanbul). While rows are set they replacescale.min;scale.maxstill applies. RunR applies a changed schedule to the running workload within a minute, without a redeploy. Empty when the warmer is off. (see below for nested schema)schedule_effective_timezone(String) The time zone the schedule trigger runs in; null without a schedule.schedule_timezone(String) IANA time zone of the schedule trigger; null when it follows the organization's time zone.slug(String) Slug.trigger_type(String) Type of the primary trigger, the first enabled one of the project's trigger list:http,schedule,queue,workflowor another trigger type (webhook,topic, …).triggers(Attributes List) The project's trigger list in order (null on APIs without one); secrets are never read. (see below for nested schema)type(String)faas,xaasorcaas.warm_scale_applied(Number) Warm containers the timed warmer last set on the running workload; null when it never ran for the project.
Nested Schema for scale_schedule#
Read-Only:
cron(String) Five-field cron expression.min_scale(Number) Containers kept warm from this moment on.
Nested Schema for triggers#
Read-Only:
config(String) Its settings as RunR stores them (JSON).effective_timezone(String) The time zone ascheduleruns in.enabled(Boolean) Whether it runs.name(String) Trigger name.primary(Boolean) Whether it is the primary trigger.runs_on(String)service,gateway,cronjobordisabled.type(String) Trigger type.url(String) The inbox URL of awebhooktrigger.