Cloudquery duplicate destination configuration clarification needed

I have the following CloudQuery configuration for two destinations:

```yaml
---
kind: destination
spec:
  name: "gcs_aws"
  path: "cloudquery/gcs"
  registry: "cloudquery"
  version: "v3.4.12"
  spec:
    bucket: "somebucket"
    path: "aws"
    format: "parquet"
    batch_size: 10000
    batch_size_bytes: 52428800 # 50 MiB
    batch_timeout: 30s # 30 seconds
---
kind: destination
spec:
  name: "gcs_gcp"
  path: "cloudquery/gcs"
  registry: "cloudquery"
  version: "v3.4.12"
  spec:
    bucket: "somebucket"
    path: "gcp"
    format: "parquet"
    batch_size: 10000
    batch_size_bytes: 52428800 # 50 MiB
    batch_timeout: 30s # 30 seconds

I don’t see a good way to avoid duplicating this in the documentation since the only difference is the path. Is there a way to set this in the two sources and have a single destination?

Are you trying to have the source(s) write to different destinations?

For example, if you have source-A and source-B, and source-A writes to dest-a while source-B writes to dest-b, where the only differences between dest-a and dest-b is the path?

Same bucket, different path only. No other settings are any different, just that the GCP source sends to gcp/ and the AWS source to aws/.

As of right now, that is not possible. I would suggest splitting this into 2 separate configs, as the sources in a single config are resolved serially rather than in parallel.

It’s a ConfigMap → .yml → Pod sync currently, so it ends up with 2 sources and 2 destinations.

Ahh understood. Is there any way you could just make 2 ConfigMaps?