Kestra Terraform Provider – Manage Namespaces
Terraform Resource: kestra_namespace
Manages a Kestra Namespace.
This resource is only available on the Enterprise Edition
Example Usage
resource "kestra_namespace" "example" { namespace_id = "company.team" description = "Friendly description" variables = <<EOTk1: 1k2: v1: 1EOT 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.outputs_in_internal_storage(Boolean) Whether outputs are stored in internal storage.plugin_defaults(String) The namespace plugin defaults in yaml string.secret_configuration(Map of String) The secret configuration.secret_isolation(Block List, Max: 1) Secret isolation configuration (same shape as storage_isolation). (see below for nested schema)secret_read_only(Boolean) Whether secrets are read-only in this namespace.secret_type(String) The secret type.storage_configuration(Map of String) The storage configuration.storage_isolation(Block List, Max: 1) Storage isolation configuration. (see below for nested schema)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 secret_isolation
Optional:
denied_services(List of String) List of denied services for secret isolation.enabled(Boolean) Enable secret isolation.
Nested Schema for storage_isolation
Optional:
denied_services(List of String) List of denied services for isolation.enabled(Boolean) Enable storage isolation.
Nested Schema for worker_group
Required:
key(String) The worker group key.
Optional:
fallback(String) The fallback strategy.
Import
Import is supported using the following syntax:
terraform import kestra_namespace.example {{namespace}}Was this page helpful?