Matthew Hooson
09/10/2024, 7:46 PM- name: tap-sistrix
inherit_from: tap-rest-api-msdk
config:
streams:
- name: sistrix_${TAP_SISTRIX_ACCOUNT_ID}_${TAP_RUN_DATE}
params:
api_key: ${TAP_SISTRIX_API_KEY}
format: json
date: ${TAP_SISTRIX_DATE}
domain: ${TAP_SISTRIX_DOMAIN}
but when I try and do the same in the mappers config block the env do not get replaced. The example I have is using th google search console tap:
- name: rename_search_tables
config:
stream_maps:
performance_report_custom:
__alias__: search_console_performance_custom_${TAP_SEARCH_ACCOUNT_ID}
The output stream name is just search_console_performance_custom_${TAP_SEARCH_ACCOUNT_ID} rather than the wanted table name with env.
Any ideas why it works in one spot of the .yaml and not the other?Taylor Murphy (Arch)
09/10/2024, 7:50 PMMatthew Hooson
09/10/2024, 7:53 PMTaylor Murphy (Arch)
09/10/2024, 7:55 PMEdgar Ramírez (Arch.dev)
09/10/2024, 7:58 PMEdgar Ramírez (Arch.dev)
09/10/2024, 8:03 PMtap-rest-api-msdk
should support it since it's SDK-based:
- name: tap-sistrix
inherit_from: tap-rest-api-msdk
config:
streams:
- name: sistrix_${TAP_SISTRIX_ACCOUNT_ID}_${TAP_RUN_DATE}
params:
api_key: ${TAP_SISTRIX_API_KEY}
format: json
date: ${TAP_SISTRIX_DATE}
domain: ${TAP_SISTRIX_DOMAIN}
stream_maps:
config:
stream_maps:
performance_report_custom:
__alias__: search_console_performance_custom_${TAP_SEARCH_ACCOUNT_ID}
Matthew Hooson
09/10/2024, 8:06 PMMatthew Hooson
09/10/2024, 8:33 PMEdgar Ramírez (Arch.dev)
09/10/2024, 8:53 PM