-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvariables.tf
More file actions
54 lines (45 loc) · 1.26 KB
/
variables.tf
File metadata and controls
54 lines (45 loc) · 1.26 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
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 "custom_template_title" {
description = "Title of the custom template"
type = string
}
variable "custom_template_description" {
description = "Description of the custom template"
type = string
}
variable "custom_template_note" {
description = "Note that appears in the UI"
type = string
}
variable "custom_template_platform" {
description = "Platform: 1 = linux, 2 = windows"
type = number
}
variable "custom_template_type" {
description = "Stack type: 1 = swarm, 2 = compose, 3 = kubernetes"
type = number
}
variable "custom_template_edge" {
description = "Whether this is an Edge template"
type = bool
default = false
}
variable "custom_template_is_compose" {
description = "Is Compose format (true/false)"
type = bool
default = false
}
variable "custom_template_file_content" {
description = "Inline file content for the template (YAML/Compose)"
type = string
}