Referencing a custom source configuration in Terraform

Summary

To reference a custom source configuration in a Terraform resource block, you can use the definition_id. If you have a custom source named ‘Criteo Marketing’, you should use the corresponding definition_id. If you cannot find the definition_id, you may need to specify the sourceType in the configurations block.


Question

Hi all, how do I reference a custom source configuration in a Terraform resource block? I understand the docs reference:

  configuration = { "user" : "charles" }
  definition_id = "ec345b5c-1bae-4747-a6a8-cd9c5aad47af"
  name          = "Dr. Dana Botsford Jr."
  secret_id     = "...my_secret_id..."
  workspace_id  = "d002e1c7-3f9b-4a1e-b9a6-3be209caa593"
}```
Suppose I have a custom source names "Criteo Marketing". How do I reference this source? Should I use the definition_id? If so, where do I find this value? If not, maybe I should specify sourceType in the configurations block? If so, do I use "crieto_marketing" as the value?

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1714655898897159) if you want to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["custom-source-configuration", "terraform", "definition-id", "sourceType", "criteo-marketing"]
</sub>