Skip to content

airflow-ctl: pools import and connections import missing --action-on-existing-key option #62695

@Leondon9

Description

@Leondon9

Description

airflow-ctl variables import supports --action-on-existing-key (overwrite/fail/skip), but pools import and connections import hardcode action_on_existence=FAIL.

Use case/motivation

When re-importing pools or connections that already exist, the import always fails with no way to overwrite or skip. Users must manually delete existing entries before re-importing.

For connections, this is also a regression from Airflow 2 which had --overwrite.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions