-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
103 lines (84 loc) · 2.46 KB
/
variables.tf
File metadata and controls
103 lines (84 loc) · 2.46 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
93
94
95
96
97
98
99
100
101
102
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
variable "region" {
type = string
description = "Region to deploy this stack"
}
variable "vultr_api_key" {
type = string
description = "API key used to configure the provider"
sensitive = true
}
variable "betterstack_source_token" {
type = string
description = "Source token for Betterstack ingestion"
sensitive = true
}
variable "betterstack_ingesting_host" {
type = string
description = "Host endpoint for Betterstack log ingestion"
}
variable "k3s_token" {
type = string
description = "Token for k3s agents to join the cluster"
sensitive = true
}
variable "betterstack_api_token" {
type = string
description = "API token for Betterstack Uptime provider"
sensitive = true
}
variable "ssh_authorized_key" {
type = string
description = "SSH public key for the core user"
}
variable "status_page_company_name" {
type = string
description = "Company name shown on the Betterstack status page"
}
variable "status_page_company_url" {
type = string
description = "Company URL shown on the Betterstack status page"
}
variable "status_page_subdomain" {
type = string
description = "Subdomain for the Betterstack status page"
}
variable "status_page_timezone" {
type = string
description = "Timezone for the Betterstack status page"
}
variable "acme_email" {
type = string
description = "Email address for Let's Encrypt ACME registration"
}
variable "control_plane_plan" {
type = string
description = "Vultr instance plan for the control plane node"
default = "vc2-1c-2gb"
}
variable "agent_plan" {
type = string
description = "Vultr instance plan for agent nodes"
default = "vc2-1c-2gb"
}
variable "control_plane_storage_gb" {
type = number
description = "Block storage size in GB for the control plane"
default = 10
}
variable "agent_count" {
type = number
description = "Number of k3s agent nodes to deploy"
default = 0
}
variable "control_plane_vpc_ip" {
type = string
description = "Static VPC IP for the control plane node"
default = "10.0.0.3"
}
variable "control_plane_taint_effect" {
type = string
description = "Taint effect for the control-plane node (e.g. NoSchedule, PreferNoSchedule)"
}