kestra_namespace
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.plugin.core.log.Log
values:
message: first {{flow.id}}
- type: io.kestra.plugin.core.debug.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}}
Was this page helpful?