Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add: coder data source & vars
  • Loading branch information
ericpaulsen committed Dec 8, 2022
commit 2e3f5dcced851cba0915bf8af1f974833a081dcc
18 changes: 18 additions & 0 deletions docs/templates/docker-in-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ terraform {
}
}

variable "workspaces_namespace" {
default = "coder-namespace"
}

data "coder_workspace" "me" {}

resource "coder_agent" "main" {
os = "linux"
arch = "amd64"
Expand Down Expand Up @@ -154,6 +160,12 @@ terraform {
}
}

variable "workspaces_namespace" {
default = "coder-namespace"
}

data "coder_workspace" "me" {}

resource "coder_agent" "main" {
os = "linux"
arch = "amd64"
Expand Down Expand Up @@ -258,6 +270,12 @@ terraform {
}
}

variable "workspaces_namespace" {
default = "coder-namespace"
}

data "coder_workspace" "me" {}

resource "coder_agent" "main" {
os = "linux"
arch = "amd64"
Expand Down