Skip to content
Discussion options

You must be logged in to vote

When declaring custom sources, you need to reference its SourceDefinitonId in the definition_id Terraform field. This value can be found using the configuration API and the connector_builder_projects/list endpoint, if it is a low- or no-code source. If you have imported a custom docker source, you can use the source_definitions/list endpoint.

The configuration block in the TF resource is simply a json encoded dictionary-like object with the keys and values needed (mirror what you see in the UI). For example, this source's UI configuration:

Would translate into this configuration block:

locals {
  configuration = jsonencode(merge(
    {
      "advertiser_hashs" : [var.advertiser_hash],
  …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@anzelpwj-rev
Comment options

@brunopini
Comment options

@anzelpwj-rev
Comment options

@brunopini
Comment options

Answer selected by anzelpwj-rev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
Converted from issue

This discussion was converted from issue #39383 on June 11, 2024 13:41.