-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvariables.tf
More file actions
47 lines (41 loc) · 994 Bytes
/
variables.tf
File metadata and controls
47 lines (41 loc) · 994 Bytes
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
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/environment"
}
variable "volume_name" {
type = string
description = "Name of the Docker volume"
}
variable "volume_driver" {
type = string
default = "local"
description = "Docker volume driver to use"
}
variable "volume_driver_opts" {
type = map(string)
default = {
device = "tmpfs"
o = "size=100m,uid=1000"
type = "tmpfs"
}
description = "Driver-specific options"
}
variable "volume_labels" {
type = map(string)
default = {
env = "test"
managed = "terraform"
}
description = "Labels to apply to the volume"
}