page_title | subcategory | description |
---|---|---|
coder_agent_script Data Source - terraform-provider-coder |
Use this data source to get the startup script to pull and start the Coder agent. |
Use this data source to get the startup script to pull and start the Coder agent.
data "coder_agent_script" "dev" {
os = "darwin"
arch = "amd64"
}
resource "kubernetes_pod" "dev" {
spec {
container {
command = ["sh", "-c", data.coder_agent_script.dev.value]
}
}
}
- arch (String) The architecture the agent will run on. Must be one of: "amd64", "arm64".
- os (String) The operating system the agent will run on. Must be one of: "linux", "darwin", or "windows".
- auth (String) The authentication type the agent will use. Must be one of: "token", "google-instance-identity", "aws-instance-identity", "azure-instance-identity".
- id (String) The ID of this resource.
- value (String)