RunR v0.5.7

Documentation

runr_region (Data Source)

A region (Kubernetes cluster with Knative) projects run in. Look it up by name or id; with neither, the only active region is returned.

Example Usage#

data "runr_region" "eu" {
  name = "eu-1"
}

# With neither name nor id: the only active region.
data "runr_region" "default" {}

output "queues_available" {
  value = data.runr_region.eu.has_redis
}

Schema#

Optional#

  • id (String) Region id.
  • name (String) Region name.

Read-Only#

  • has_redis (Boolean) Redis is configured (needed by queue triggers).
  • is_active (Boolean) Projects can be deployed to it.
  • is_demo (Boolean) Demo region (deployments are simulated).
  • status (String) Region status (active, maintenance, …).

RunR v0.5.7 · MIT License