Skip to content

external_location with dbt macro support #685

Description

@OneCyrus

the external_location is a nice feature to directly consume files on remote s3. unfortunately we have some extended options and logic we would like to directly use with the external_location field. as there are hundreds of external files we have a lot of duplicated logic in the config.

would it be possible to support dbt macros in the external_location field so we don't need to repeat ourself?

e.g.

- name: citrix_daas_deliverygroups_desktops_raw
  meta:
    external_location: "{{ json_source('citrix_daas', 'citrix_daas_deliverygroups_desktops__*.json') }}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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