-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathvariables.tf
More file actions
36 lines (31 loc) · 956 Bytes
/
variables.tf
File metadata and controls
36 lines (31 loc) · 956 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
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 "stack_associate_stack_id" {
description = "ID of the orphaned stack to associate"
type = number
default = 12
}
variable "stack_associate_endpoint_id" {
description = "ID of the environment (endpoint) to associate the stack with"
type = number
default = 1
}
variable "stack_associate_swarm_id" {
description = "ID of the Swarm cluster where the stack should be associated"
type = string
default = "jpofkc0i9uo9wtx1zesuk649w"
}
variable "stack_associate_orphaned_running" {
description = "Whether the stack is an orphaned running stack"
type = bool
default = true
}