• Product
    • Core Features
    • Enterprise Edition
    • Cloud EditionRequest Access
    • Platform Overview
  • Solutions

      Use-cases

    • Data Workflow
    • Infrastructure Automation
    • AI Workflows

      Users

    • Data Engineers
    • Software Engineers
    • Platform Engineers

      Industries

    • Automotive
    • Retail
    • Healthcare
  • Plugins
  • Learn
    • Docs
    • Blueprints
    • Blog
    • Customer Stories
  • Company
    • About Us
    • CareersHiring!
    • Partners
    • Contact us
  • Pricing
  • Star
    Contact Sales Join us on Slack Get Started Book a Demo
  • Core Features
  • Enterprise Edition
  • Cloud EditionRequest Access
  • Platform Overview

Use-cases

  • Data Workflow
  • Infrastructure Automation
  • AI Workflows

Users

  • Data Engineers
  • Software Engineers
  • Platform Engineers

Industries

  • Automotive
  • Retail
  • Healthcare
  • Docs
  • Blueprints
  • Blog
  • Customer Stories
  • About Us
  • CareersHiring!
  • Partners
  • Contact us
ESC
Ask Kestra AI
ESC
Kestra AI

Hi! I'm your Kestra AI assistant.
Ask me anything about workflows.

EXAMPLE QUESTIONS

How to schedule flow?
How to receive an alert on flow failure?
How to add secrets?

Search

Ctrl + K
  • Get Started with Kestra
    • Quickstart
    • Installation Guide
      • Docker
      • Docker Compose
      • Kubernetes
      • Kubernetes on AWS EKS with Amazon RDS and S3
      • Kubernetes on GCP GKE with CloudSQL and Cloud Storage
      • Kubernetes on Azure AKS with Azure Database and Blob Storage
      • AWS EC2 with Amazon RDS and S3
      • GCP VM with Cloud SQL and GCS
      • Azure VM with Azure Database
      • DigitalOcean Droplet with Managed Database
      • Standalone Server
      • Windows
      • Podman Compose
    • Tutorial
      • Fundamentals
      • Inputs
      • Outputs
      • Triggers
      • Flowable tasks
      • Error Handling
    • Architecture
      • Main components
      • Server components
      • Deployment architecture
      • Multi-tenancy
      • Data Storage in Kestra
    • Contribute to Kestra
      • Kestra Codebase
      • Kestra Documentation
      • Community Guidelines
    • User Interface
      • Dashboards
      • Flows
      • Executions
      • Logs
      • Namespaces
      • Blueprints
      • Settings
      • Bookmarks
      • Playground
  • Build with Kestra
    • Workflow Components
      • Flow
      • Tasks
        • Flowable Tasks
        • Runnable Tasks
        • Task Runs
      • Namespace
      • Plugins
      • Execution
      • Variables
      • Inputs
      • Outputs
      • Checks
      • Triggers
        • Schedule Trigger
        • Flow Trigger
        • Webhook Trigger
        • Polling Trigger
        • Realtime Trigger
      • Labels
      • Plugin Defaults
      • Subflows
      • Errors
      • Retries
      • Task Timeout
      • Concurrency Limits
      • Descriptions
      • Disabled flag
      • States
      • SLA
      • Finally
      • afterExecution
      • Task Cache
    • Concepts
      • Namespace Files
      • Revision
      • Secrets
      • Key Value (KV) Store
      • Pebble Templating Engine
      • Blueprints
      • Backfill
      • Replay
      • Data storage and processing
      • Caching
      • File Access in Kestra
      • System Flows
      • System Labels & Hidden Labels
    • Multi-Language Script Tasks
      • Programming Languages
      • Commands and Script Tasks
      • Inline Scripts in Docker
      • Task Runners
      • Building a Custom Docker Image
      • Installing Dependencies at Runtime
      • Outputs and Metrics
      • Input and Output Files
      • Logging
      • Bind Mount
      • Git Clone task
      • Working Directory
    • AI Tools
      • Agent Skills
      • AI Agents
      • AI Copilot
      • RAG Workflows
      • AI Workflows
    • Version Control & CI/CD
      • Version Control with Git
      • CI/CD Pipeline
        • GitHub Actions
        • GitLab CI
        • Terraform
        • Helpers
        • Azure DevOps
        • Bitbucket Pipes
        • Kubernetes Operator
    • Plugin Developer Guide
      • Set Up for Plugin Development
      • Contribution Guidelines
      • Gradle Configuration
      • Develop a Task
      • Develop a Trigger
      • Develop a Condition
      • Add Unit Tests
      • Document Your Plugin
      • Build and Publish a Plugin
    • Use Cases
      • Data Pipelines
      • dbt Workflows
      • Microservices
      • Infrastructure
      • Approval Processes
      • Python Workflows
    • How-to Guides
  • Scale with Kestra
    • Cloud & Enterprise Edition
      • Overview
        • Features
        • Enterprise Edition Setup Guide
        • Migrate from Open Source
        • Standalone Server Installation Guide
      • Governance
        • Assets
        • Audit Logs
        • Namespace Management
        • Allowed & Restricted Plugins
        • Custom Blueprints
        • Log Shipper
        • Read-only Secret Manager
        • Secrets Manager
        • Secrets
        • Tenants
        • Unit Tests
        • Worker Isolation
      • Authentication & Users
        • Authentication
        • API Tokens
        • Kestra EE API
        • Credentials
        • Invitations
        • Role-Based Access Control (RBAC)
          • Permissions Reference
        • SCIM Directory Sync
          • authentik SCIM Provisioning
          • Keycloak SCIM Provisioning
          • Microsoft Entra ID SCIM Provisioning
          • Okta SCIM Provisioning
        • Service Accounts
        • SSO
          • authentik SSO
          • Google OIDC SSO
          • Keycloak SSO
          • LDAP
          • Microsoft OIDC SSO
          • Okta OIDC SSO
      • Scalability & Productivity
        • Apps
        • Task Runners
        • Worker Group
      • Instance Management
        • Announcements
        • Kill Switch
        • Maintenance Mode
        • Versioned Plugins
      • Cloud & Enterprise Edition FAQ
    • Task Runners
      • Task Runner Overview
      • Task Runner Benefits
      • Task Runner vs. Worker Group
      • Task Runner Types
        • Process Task Runner
        • Docker Task Runner
        • Kubernetes Task Runner
        • AWS Batch Task Runner
        • Azure Batch Task Runner
        • Google Batch Task Runner
        • Google Cloud Run Task Runner
    • Best Practices
      • Flow Best Practices
      • Dev to Prod
      • Sensitive and Shared Values
      • ForEach vs ForEachItem
      • Purging Data
      • Fetch Patterns
      • Naming Conventions
      • Manage Environments
      • pip Dependencies
      • Expressions with Namespace Files
      • Git Version Control
      • Flow Outputs
      • Business Unit Separation
      • Secrets
  • Manage Kestra
    • Administrator Guide
      • Software and Hardware Requirements
      • Alerting & Monitoring
      • Troubleshooting
      • Backup & Restore
      • Troubleshooting Basic Authentication
      • MITM Proxy for DinD
      • High Availability
      • JVM CPU Limits
      • MITM Proxy for Kestra
      • OpenTelemetry
      • Prometheus Metrics
      • Purge
      • Security Hardening
      • Server Components Liveness
      • Configure SSL for Kestra
      • Managing Upgrades
      • Usage
      • Webserver URL
    • Migration Guide
      • 0.11.0
        • Script tasks moved to dedicated plugins
        • Deprecation of Templates
      • 0.12.0
        • Deprecation of Listeners
      • 0.13.0
        • Sync Users Access to a Default Tenant
      • 0.14.0
        • Change in managing Groups via the API
        • Recursive rendering of Pebble expressions
      • 0.15.0
        • Inputs Name
        • Migration to Micronaut 4.3
        • Schedule Conditions
        • Subflow outputs behavior
      • 0.17.0
        • JSON Object Serialization
        • Deprecation of LocalFiles and outputDir
        • Plugin Discovery Mechanism
        • Renamed Plugins
        • Volume Mount
      • 0.18.0
        • Deprecation of runner property in favor of taskRunner
        • Deprecation of Terraform task_defaults in favor of plugin_defaults
      • 0.19.0
        • Deprecation of State Store in favor of KV Store
      • 0.20.0
        • Different permissions for accessing Cluster Monitoring
        • Conditions renamed
        • Custom plugins
        • Elasticsearch indexer
        • Retrieving KV pairs from other namespaces
        • Restore Kafka queue
        • Server configuration
        • Usernames replaced by email addresses
        • Fallback on unhealthy workers
      • 0.21.0
        • Default Git Branch
        • Restarting parent flow
        • Retrieving non-existing secrets
        • Log level for stderr output
        • ME and APITOKEN user permissions
      • 0.22.0
        • Azure Log Exporter
        • Default Tenant & Multi-Tenancy
        • Enterprise Edition API changes
        • Failed Attempts Lockout
        • Helm Chart Health Check Paths
        • KV function errors on missing key
        • Version property renamed
      • 0.23.0
        • The BOOLEAN-type input is deprecated in favor of BOOL
        • Default environment variable prefix changed from KESTRA_ to ENV_ for security
        • The default pullPolicy for Docker-based tasks changed
        • Flow trigger now also reacts to PAUSED state by default
        • Internal Storage Migration Guide for S3 and GCS Users
        • The autocommit property removed from JDBC Query and Queries tasks
        • LoopUntil task changed default values for checkFrequency
        • Python script tasks now use official python:3-13-slim image
        • No more WARNING state on script tasks when ERROR logs are present
        • SQL Server backend is no longer supported
        • Manual user refresh to migrate Superadmin property
        • Enterprise Migration Guide from defaultTenant to Multitenancy
        • Open-Source Migration Guide to introduce defaultTenant
        • Removal of tenant from Superadmin API routes
      • 0.24.0
        • Required Basic Authentication
        • Capture filename on input type FILE
        • IAM and API Endpoint Changes
        • Migrate from LangChain4j Plugin to Plugin AI
        • maxAttempt renamed maxAttempts
      • 1.0.0
        • Internal Package Structure Changes (Custom Plugins Only)
        • Helm Chart Updates
        • Input defaults are now dynamic
        • Audit Log's permissions are renamed to resources
        • Reserved keywords cannot be used as Flow IDs
        • Singer Tap Plugin Removal
      • 1.1.0
        • ForEachItem now starts iteration at 0 instead of 1
        • Key-value Store and Secrets Metadata Migration
        • New prefill Property for Inputs – Breaking Change for Input defaults
        • The Query Task Now Supports Only One SQL Statement
        • Task Runs UI Page Removed
        • Webhook Execution API Return Type Changed
      • 1.2.0
        • Namespace Files Migration
        • Split notifications plugins (Non-Breaking Change)
      • 1.3.0
        • Enterprise License Upgrade
        • File-listing plugins now default to 25 results
        • LTS Migration (1.0 → 1.3)
    • Performance
      • Benchmarks
      • Performance Tuning
      • Sizing and Scaling Infrastructure
  • Reference Docs
    • Releases & LTS Policy
    • Configuration
      • Configuration Basics
      • Runtime and Storage
      • Observability and Networking
      • Plugins and Execution
      • Security and Secrets
      • Enterprise and Advanced
    • Expressions
    • Terraform Provider
      • Kestra Terraform Provider – Read Index
        • Kestra Terraform Provider – Read Bindings
        • Kestra Terraform Provider – Read Flows
        • Kestra Terraform Provider – Read Groups
        • Kestra Terraform Provider – Read KV entries
        • Kestra Terraform Provider – Read Namespace Files
        • Kestra Terraform Provider – Read Namespaces
        • Kestra Terraform Provider – Read Roles
        • Kestra Terraform Provider – Read Service Account API Tokens
        • Kestra Terraform Provider – Read Service Accounts
        • Kestra Terraform Provider – Read Templates
        • Kestra Terraform Provider – Read Tenants
        • Kestra Terraform Provider – Read Tests
        • Kestra Terraform Provider – Read User API Tokens
        • Kestra Terraform Provider – Read Users
        • Kestra Terraform Provider – Read Worker Groups
      • Guides
        • Provider configurations
        • Working with Yaml
      • Kestra Terraform Provider – Manage Index
        • Kestra Terraform Provider – Manage Apps
        • Kestra Terraform Provider – Manage Bindings
        • Kestra Terraform Provider – Manage Dashboards
        • Kestra Terraform Provider – Manage Flows
        • Kestra Terraform Provider – Manage Groups
        • Kestra Terraform Provider – Manage KV entries
        • Kestra Terraform Provider – Manage Namespace Files
        • Kestra Terraform Provider – Manage Namespace Secrets
        • Kestra Terraform Provider – Manage Namespaces
        • Kestra Terraform Provider – Manage Roles
        • Kestra Terraform Provider – Manage Security Integrations
        • Kestra Terraform Provider – Manage Service Account API Tokens
        • Kestra Terraform Provider – Manage Service Accounts
        • Kestra Terraform Provider – Manage Templates
        • Kestra Terraform Provider – Manage Tenants
        • Kestra Terraform Provider – Manage Tests
        • Kestra Terraform Provider – Manage User API Tokens
        • Kestra Terraform Provider – Manage User Passwords
        • Kestra Terraform Provider – Manage Users
        • Kestra Terraform Provider – Manage Worker Groups
    • API Reference
      • Cloud & Enterprise Edition API
      • Open Source API
      • SDKs
        • Java SDK
        • JavaScript SDK – Client Setup and Examples
        • Python SDK
    • Kestra CLI
      • Kestra Server Commmands
      • kestractl
    • Glossary
  1. Docs
  2. Terraform Provider
  3. Guides

Guides

Copy as Markdown
Contribute
  • Edit This Page
  • Join Us on Slack
  • YouTube
  • GitHub
  • Twitter
  • Bluesky
  • LinkedIn

Provider configurations

Working with Yaml

Learn how to handle YAML content in Terraform for Kestra resources, including multiline strings and external files.

Previous
Provider configurations
Next

Was this page helpful?

Send Feedback

😔

Get Kestra Updates

SOC 2 GDPR
Kestra's logo

Open Source Declarative
Orchestration Platform

Get Started
  • Getting Started
  • Documentation
  • Blueprints
  • Plugins
  • FAQs
Learn
  • Blogs
  • Videos
  • Administrator Guide
  • Release Notes
  • API Reference
Compare
  • View All Comparisons
  • Airflow vs Kestra
  • n8n vs Kestra
  • Control-M vs Kestra
  • Rundeck vs Kestra
Community
  • Community Overview
  • Slack
  • GitHub
  • Write for Us
Company
  • About Us
  • Partners
  • Careers Hiring!
  • Contact

© 2026 Kestra Technologies. Developed with ♥ on 🌎.

Privacy Policy Cookie Policy