-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvariables.tf
More file actions
93 lines (79 loc) · 1.91 KB
/
variables.tf
File metadata and controls
93 lines (79 loc) · 1.91 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
variable "portainer_url" {
description = "Default Portainer URL"
type = string
# default = "http://localhost:9000"
}
variable "portainer_api_key" {
description = "Default Portainer Admin API Key"
type = string
sensitive = true
# default = "your-api-key-from-portainer"
}
variable "endpoint_id" {
type = number
description = "ID of the Portainer endpoint"
# default = 1
}
variable "allow_bind_mounts" {
type = bool
# default = true
description = "Allow bind mounts for regular users"
}
variable "allow_container_capabilities" {
type = bool
# default = true
description = "Allow container capabilities for regular users"
}
variable "allow_device_mapping" {
type = bool
# default = true
description = "Allow device mapping for regular users"
}
variable "allow_host_namespace" {
type = bool
# default = true
description = "Allow host namespace for regular users"
}
variable "allow_privileged_mode" {
type = bool
# default = false
description = "Allow privileged mode for regular users"
}
variable "allow_stack_management" {
type = bool
# default = true
description = "Allow stack management for regular users"
}
variable "allow_sysctl_setting" {
type = bool
# default = true
description = "Allow sysctl setting for regular users"
}
variable "allow_volume_browser" {
type = bool
# default = true
description = "Allow volume browser for regular users"
}
variable "enable_gpu_management" {
type = bool
# default = false
description = "Enable GPU management"
}
variable "enable_host_management" {
type = bool
# default = true
description = "Enable host management features"
}
variable "gpus" {
type = list(object({
name = string
value = string
}))
# default = [
# {
# name = "nvidia"
# value = "gpu0"
# }
#]
description = "List of GPU settings (name + value)"
}