-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
78 lines (64 loc) · 1.8 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
variable "subnet_id" {
description = "Subnet ID to deploy the site to site instances to"
type = string
}
variable "vpc_id" {
description = "VPC ID to deploy the site to site instances to"
type = string
}
variable "advertise_addresses" {
description = "Addresses to advertise for the site to site instance"
type = list(string)
}
variable "remote_addresses" {
description = "Address to connect to for the site to site instance"
type = list(string)
}
variable "name" {
description = "Name of the site to site instance"
type = string
}
variable "tags" {
description = "Tags to apply to the site to site instance"
type = map(string)
default = {}
}
variable "architecture" {
description = "Architecture of the instance"
type = string
default = "x86_64"
}
variable "instance_type" {
description = "Instance type to use for the site to site instance"
default = "t3.medium"
type = string
}
variable "ebs_root_volume_size" {
description = "Size of the root volume in GB"
default = 20
type = number
}
variable "enable_aws_ssm" {
description = "Whether to attach the minimum required IAM permissions to connect to the instance via SSM."
type = bool
default = true
}
variable "enable_tailscale_ssh" {
description = "Whether to enable Tailscale SSH."
type = bool
default = true
}
variable "route_table_ids" {
description = "Route table IDs to route traffic for the site to site instance"
type = list(string)
}
variable "tailscale_auth_key" {
description = "Tailscale authentication key"
type = string
sensitive = true
}
variable "advertise_tags" {
description = "Tags to advertise for the site to site instance"
type = list(string)
default = []
}