page_title | subcategory | description |
---|---|---|
coder_provisioner Data Source - terraform-provider-coder |
Use this data source to get information about the Coder provisioner. |
Use this data source to get information about the Coder provisioner.
provider "coder" {}
data "coder_provisioner" "dev" {}
data "coder_workspace" "dev" {}
resource "coder_agent" "main" {
arch = data.coder_provisioner.dev.arch
os = data.coder_provisioner.dev.os
dir = "/workspace"
display_apps {
vscode = true
vscode_insiders = false
web_terminal = true
ssh_helper = false
}
}
arch
(String) The architecture of the host. This exposesruntime.GOARCH
(see Go constants).id
(String) The ID of this resource.os
(String) The operating system of the host. This exposesruntime.GOOS
(see Go constants).