forked from firezone/firezone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
85 lines (70 loc) · 1.7 KB
/
variables.tf
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
variable "base_ami" {
description = "The base AMI for the instances"
type = string
}
variable "instance_type" {
description = "The instance type"
type = string
default = "t3.nano"
}
variable "desired_capacity" {
description = "The desired number of instances"
type = number
default = 3
}
variable "min_size" {
description = "The minimum number of instances"
type = number
default = 3
}
variable "max_size" {
description = "The maximum number of instances"
type = number
default = 5
}
variable "firezone_token" {
description = "The Firezone token"
type = string
nullable = false
sensitive = true
}
variable "firezone_version" {
description = "The Gateway version to deploy"
type = string
default = "latest"
}
variable "firezone_name" {
description = "Name for the Gateways used in the admin portal"
type = string
default = "$(hostname)"
}
variable "firezone_api_url" {
description = "The Firezone API URL"
type = string
default = "wss://api.firezone.dev"
}
variable "vpc" {
description = "The VPC id to use"
type = string
}
variable "private_subnet" {
description = "The private subnet id"
type = string
}
variable "public_subnet" {
description = "The public subnet id"
type = string
}
variable "instance_security_groups" {
description = "The security group ids to attach to the instances"
type = list(string)
}
variable "extra_tags" {
description = "Extra tags for the Auto Scaling group"
type = map(object({
key = string
value = string
propagate_at_launch = bool
}))
default = {}
}