Defining custom docker source as terraform code

Summary

Exploring how to reference a custom docker image in terraform code for defining a source


Question

Is there a way to define a custom docker source as terraform code? I saw the docs but don’t understand how to reference the custom image.



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["custom-docker-source", "terraform", "reference", "custom-image"]

Like per source/destination?

I guess. In fact, it doesn’t even matter if docker or no-code. The docs mention that custom configurations are declared as:

  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"
}```
What I don't understand is where my custom source is being referenced.