-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
85 lines (69 loc) · 1.29 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 "name" {
type = string
}
variable "subnet_ids" {
type = list(string)
}
variable "ami_id" {
type = string
}
variable "vpc_id" {
type = string
}
variable "instance_type" {
type = string
}
variable "security_groups_ids" {
description = "List of additional security group IDs to attach to the ASG instances"
type = list(string)
default = []
}
variable "tags" {
type = map(string)
default = {}
}
variable "min_size" {
type = number
default = 1
}
variable "max_size" {
type = number
default = 2
}
variable "desired_capacity" {
type = number
default = 2
}
variable "tailscale_auth_key" {
sensitive = true
type = string
}
variable "advertise_tags" {
type = list(string)
default = []
}
variable "advertise_addresses" {
type = list(string)
}
variable "enable_ssh" {
type = bool
default = false
}
variable "public" {
type = bool
default = false
}
variable "enable_monitoring" {
type = bool
default = true
}
variable "additional_parts" {
description = "Additional user defined part blocks for the cloudinit_config data source"
type = list(object({
filename = string
content_type = optional(string)
content = optional(string)
merge_type = optional(string)
}))
default = []
}