Skip to content

feat: Allow setting default region for the task #3017

@gautamsi

Description

@gautamsi

Is your feature request related to a problem? Please describe.

I have some specific services deployed in some location of my organization which require local access. Most task can run all location but few tasks must be run in specific region.

Without default region the task is getting run in a different region without some override. If default region is set then it can always run in that region even if this was not overridden in some trigger from another tasks.

There should be option to fallback to default (bootstrap) region in case the region was removed

Describe the solution you'd like to see

When defining tasks there should be region option which sets default region, It should be string for the region name and object with name field for region name and fallback boolean field (default true) to allow changing fallback behavior.

Describe alternate solutions

I have used helper function triggerTask with task definition to region mapping and overriding every time it is run.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions