Skip to content

Feature Request: expose pack config to rules/triggers #3576

@ytjohn

Description

@ytjohn

Today, I wanted to add an IntervalTimer trigger, and I wanted to have the delta set in configuration.

I think it would be advantageous to allow end-users of my pack to set the interval delta (and unit) in configuration instead of having to edit the pack's yaml file.

trigger:
  type: "core.st2.IntervalTimer"
  parameters:
    unit: "{{config_context.rule1_unit}}"
    delta: {{config_context.rule1_delta}

related to #3183

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions