Provider configurations
Provider configurations
Example Usage
hcl
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 requestjwt
(String, Sensitive) The JWT token (EE)keep_original_source
(Boolean) Keep original source code, keeping comment and indentation.password
(String, Sensitive) The BasicAuth passwordtenant_id
(String) The tenant id (EE)url
(String) The endpoint url without trailing slashusername
(String) The BasicAuth username or service account name
Was this page helpful?