I’ve got a custom tap with a fairly complex config...
# singer-tap-development
j
I’ve got a custom tap with a fairly complex configuration. Some of the more deeply nested configuration values need to be pass in via an environment variable but I can’t seem to get it to work. Here’s and example of the config. You can see where I want the env vars to resolve:
Copy code
- name: tap-datadog-wdt
    inherit_from: tap-rest-api
    config:
      api_url: <https://api.datadoghq.com/api/v1>
      streams_config:
        - name: ApiSummary
          path: /query
          headers:
            Content-Type: application/json
            DD-API-KEY: $TAP_DATADOG_API_KEY
            DD-APPLICATION-KEY: $TAP_DATADOG_APPLICATION_KEY
          params:
            query: whatever
            from: '1628450451'
            to: 1628536851
          primary_keys:
            - unit
          records_path: "$.series[*]"
Any ideas on the correct syntax for resolving
$TAP_DATADOG_API_KEY
or any other env var?