Provider configurations

Kestra 1.0.x compatibility

Additionally, if you want to terraform Kestra 1.0.x you need to use Kestra Terraform provider 1.0.x

Breaking changes from 1.0.x

Various breaking changes were made around from 0.24.x to 1.0.x, especially around IAM.

Example usage

provider "kestra" {
# mandatory, the Kestra webserver/standalone URL
url = "http://localhost:8080"
# optional basic auth username
username = "john"
# optional basic auth password
password = "my-password"
# optional jwt token (EE)
jwt = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6Iktlc3RyYS5pbyIsImlhdCI6MTUxNjIzOTAyMn0.hm2VKztDJP7CUsI69Th6Y5NLEQrXx7OErLXay55GD5U"
# optional tenant id (EE)
tenant_id = "the-tenant-id"
# optional extra headers
extra_headers = {
x-pipeline = "*****"
authorization = "Bearer *****"
}
}

Schema

Optional

  • api_token (String, Sensitive) The API token (EE)
  • extra_headers (Map of String) Extra headers to add to every request
  • jwt (String, Sensitive) The JWT token (EE)
  • keep_original_source (Boolean) Keep original source code, keeping comment and indentation. Setting to false is now deprecated and will be removed in the future.
  • password (String, Sensitive) The basic-auth password
  • tenant_id (String) The tenant id (EE)
  • timeout (Number) The timeout (in seconds) for http requests
  • url (String) The endpoint url
  • username (String) The basic-auth username

Was this page helpful?