-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
134 lines (103 loc) · 2.37 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
variable "allowed_cidr" {
type = list(string)
default = [
"0.0.0.0/0",
]
description = "A list of CIDR Networks to allow ssh access to."
}
variable "allowed_ipv6_cidr" {
type = list(string)
default = [
"::/0",
]
description = "A list of IPv6 CIDR Networks to allow ssh access to."
}
variable "allowed_security_groups" {
type = list(string)
default = []
description = "A list of Security Group ID's to allow access to."
}
variable "name" {
default = "bastion"
}
variable "extra_tags" {
type = list(object({ key = string, value = string, propagate_at_launch = bool }))
default = []
description = "A list of tags to associate to the bastion instance."
}
variable "ami" {
}
variable "instance_type" {
default = "t2.micro"
}
variable "instance_volume_size_gb" {
description = "The root volume size, in gigabytes"
default = "8"
}
variable "iam_instance_profile" {
}
variable "user_data_file" {
description = "Contents of user data file to be processed"
default = ""
}
variable "s3_bucket_name" {
}
variable "s3_bucket_uri" {
default = ""
}
variable "enable_monitoring" {
default = true
}
variable "ssh_user" {
default = "ubuntu"
}
variable "enable_hourly_cron_updates" {
default = "false"
}
variable "keys_update_frequency" {
default = ""
}
variable "additional_user_data_script" {
default = ""
}
variable "region" {
default = "eu-west-1"
}
variable "vpc_id" {
}
variable "security_group_ids" {
description = "Comma seperated list of security groups to apply to the bastion."
default = ""
}
variable "subnet_ids" {
default = []
description = "A list of subnet ids"
}
variable "eip" {
default = ""
}
variable "associate_public_ip_address" {
default = false
}
variable "key_name" {
default = ""
}
variable "apply_changes_immediately" {
description = "Whether to apply the changes at once and recreate auto-scaling group"
default = false
}
variable "enable_http_endpoint" {
description = "Whether the metadata service is available."
type = bool
default = true
}
variable "use_imds_v2" {
description = "Use (IMDSv2) Instance Metadata Service V2"
type = bool
default = false
}
variable "http_put_response_hop_limit" {
description = "The desired HTTP PUT response hop limit for instance metadata requests."
type = number
default = 1
}