-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
71 lines (59 loc) · 1.72 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
variable "name" {
type = string
description = "A name for the Tailscale subnet router"
}
variable "cpu" {
type = number
default = 256
description = "The CPU value to assign to the container (vCPU)"
}
variable "memory" {
type = number
default = 512
description = "The memory value to assign to the container (MiB)"
}
variable "cpu_architecture" {
type = string
default = "X86_64"
description = "The CPU architecture to use for the container. Either X86_64 or ARM64."
}
variable "assign_public_ip" {
type = bool
default = true
description = "Assign a public IP address to the container"
}
variable "security_group_ids" {
type = list(string)
description = "The security group IDs to associate with the subnet router ECS service and EFS mount targets"
}
variable "subnet_ids" {
type = list(string)
description = "The subnet IDs to use for the ECS task"
}
variable "ecs_cluster_id" {
type = string
description = "The ID of the ECS cluster"
}
variable "tailscale_auth_key_secret" {
type = string
description = "The secret manager ARN for the Tailscale auth key"
}
variable "tailscale_hostname" {
type = string
description = "The hostname of the tailscale client"
}
variable "tailscale_subnet_routes" {
type = string
description = "The subnet routes to advertise to the Tailscale network"
default = ""
}
variable "tailscale_extra_args" {
type = string
description = "The extra arguments to pass to the Tailscale cotnainer"
default = ""
}
variable "cloudwatch_retention_days" {
type = number
description = "The number of days to retain logs in CloudWatch"
default = 7
}