# kestra_template (Resource)

Manages a Kestra Template.

# Example Usage

resource "kestra_template" "example" {
  namespace   = "io.kestra.mynamespace"
  template_id = "my-template"
  content     = <<EOT
tasks:
  - id: t2
    type: io.kestra.core.tasks.debugs.Echo
    format: first {{task.id}}
    level: TRACE
EOT
}

# Schema

# Required

  • content (String) The template full content in yaml string.
  • namespace (String) The template namespace.
  • template_id (String) The template id.

# Optional

  • id (String) The ID of this resource.

# Import

Import is supported using the following syntax:

terraform import kestra_template.example {{namespace}}/{{template_id}}