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') }}"
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.