-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvariables.tf
More file actions
51 lines (45 loc) · 1.14 KB
/
variables.tf
File metadata and controls
51 lines (45 loc) · 1.14 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
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" {
description = "ID of the Portainer endpointr"
type = number
default = 3
}
variable "config_name" {
description = "Name Docker config"
type = string
default = "server.conf"
}
variable "config_data" {
description = "Base64-encoded data for Docker config"
type = string
sensitive = true
default = "THIS IS NOT A REAL CERTIFICATE\n"
}
variable "config_labels" {
description = "Map Docker config labels"
type = map(string)
default = {
property1 = "string"
property2 = "string"
foo = "bar"
}
}
variable "config_templating" {
description = "Templating configuration"
type = map(string)
default = {
name = "some-driver"
OptionA = "value for driver-specific option A"
OptionB = "value for driver-specific option B"
}
}