-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
46 lines (40 loc) · 890 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
variable "packages" {
type = list(string)
description = "Packages to install"
default = []
}
variable "hostname" {
type = string
description = "Hostname of the container"
default = null
}
variable "image" {
type = string
description = "Image to use, required if context is not set"
default = "ghcr.io/pocketenv-io/homebrew:main"
}
variable "workspace_name" {
type = string
description = "Name of the workspace"
default = "all-workspace"
}
variable "user" {
type = string
description = "User to create"
default = "coder"
}
variable "context" {
type = string
description = "Context to use"
default = null
}
variable "volumes" {
type = map(string)
description = "Volumes to mount"
default = {
all-workspace = "/home/coder"
linuxbrew = "/home/linuxbrew/.linuxbrew"
all-nix-store = "/nix"
docker-volumes = "/var/lib/docker"
}
}