Skip to main content

ConfigAddFields

Transformation that adds fields to a config. The path of the added field can be nested.

  • type: object
  • required: ["type","fields"]

type​

  • Required: Yes
  • type: string
  • enum: ["ConfigAddFields"]

fields​

A list of transformations (path and corresponding value) that will be added to the config.

condition​

Fields will be added if expression is evaluated to True.

  • Required: No
  • type: string
  • default: ``
  • Available variables: config, property

Examples:

{{ config['environemnt'] == 'sandbox' }}
{{ property is integer }}
{{ property|length > 5 }}
{{ property == 'some_string_to_match' }}
Was this page helpful?