🚀 New! Kestra raises $3 million to grow Learn more

kestra_namespace (Resource)

Manages a Kestra Namespace.

Example Usage

hcl
resource "kestra_namespace" "example" {
  namespace_id  = "io.kestra.mynamespace"
  description   = "Friendly description"
  variables     = <<EOT
k1: 1
k2:
    v1: 1
EOT
  task_defaults = <<EOT
- type: io.kestra.core.tasks.log.Log
  values:
    message: first {{flow.id}}
- type: io.kestra.core.tasks.debugs.Return
  values:
    format: first {{flow.id}}
EOT
}

Schema

Required

  • namespace_id (String) The namespace.

Optional

  • description (String) The namespace friendly description.
  • task_defaults (String) The namespace task defaults in yaml string.
  • variables (String) The namespace variables in yaml string.

Read-Only

  • id (String) The ID of this resource.
  • tenant_id (String) The tenant id.

Import

Import is supported using the following syntax:

shell
terraform import kestra_namespace.example {{namespace}}