Flow Inputs: name Property Changed to id in Kestra 0.15.0

Inputs name changed to id

The name property of inputs are deprecated in favor of id for consistency with the rest of the flow configuration.

The change is non-breaking, so existing flows do not need to be changed immediately to migrate to 0.15.0. Use the id property for new flows. The name property will be removed in the future.

To make the change clear, here is how inputs were defined before Kestra 0.15.0:

id: myflow
namespace: company.team
inputs:
- name: beverage
type: STRING
defaults: coffee
- name: quantity
type: INTEGER
defaults: 1

After Kestra 0.15.0

Here is how inputs are defined after Kestra 0.15.0:

id: myflow
namespace: company.team
inputs:
- id: beverage
type: STRING
defaults: coffee
- id: quantity
type: INTEGER
defaults: 1

Was this page helpful?