kestra_namespace (Resource)
Manages a Kestra Namespace.
This resource is only available on the Enterprise Edition
Example Usage
hcl
resource "kestra_namespace" "example" {
namespace_id = "company.team"
description = "Friendly description"
variables = <<EOT
k1: 1
k2:
v1: 1
EOT
plugin_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
allowed_namespaces
(Block List) The allowed namespaces. (see below for nested schema)description
(String) The namespace friendly description.plugin_defaults
(String) The namespace plugin defaults in yaml string.secret_configuration
(Map of String) The secret configuration.secret_type
(String) The secret type.storage_configuration
(Map of String) The storage configuration.storage_type
(String) The storage type.variables
(String) The namespace variables in yaml string.worker_group
(Block List, Max: 1) The worker group. (see below for nested schema)
Read-Only
id
(String) The ID of this resource.tenant_id
(String) The tenant id.
Nested Schema for allowed_namespaces
Required:
namespace
(String) The namespace.
Nested Schema for worker_group
Required:
fallback
(String) The fallback strategy.key
(String) The worker group key.
Import
Import is supported using the following syntax:
shell
terraform import kestra_namespace.example {{namespace}}
Was this page helpful?