-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
92 lines (76 loc) · 2.04 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
variable "tag_environment" {
description = "The name of the environment to use in resource tagging"
type = string
}
variable "tag_name" {
description = "The name tag of the instance"
type = string
default = ""
}
variable "additional_tags" {
description = "Additional tags to apply to the instance"
type = map(string)
default = {}
}
variable "placement_group" {
description = "The name of the placement group to place the instance in"
type = string
default = null
}
variable "subnet_id" {
description = "The subnet to use for the instance"
type = string
}
variable "key_name" {
description = "The name of the key pair to use for the instance"
type = string
}
variable "type" {
description = "The type of instance to use"
type = string
}
variable "ami" {
description = "The AMI to use for the instance"
type = string
}
variable "hostname" {
description = "The hostname of the instance"
type = string
}
variable "iam_instance_profile" {
description = "The IAM instance profile to use for the instance"
type = string
}
variable "security_group_ids" {
description = "The security group IDs to use for the instance"
type = list(string)
}
variable "user_data" {
description = "The user data to provide when launching the instance"
type = string
}
variable "raid_array_size" {
description = "Size in GB of RAID array"
type = number
default = 0
}
variable "root_volume_size" {
description = "Size in GB of RAID array"
type = number
default = 30
}
variable "additional_volumes" {
description = "Additional volumes to create and attach to the instance"
type = map(map(string))
default = {}
}
variable "user_data_replace_on_change" {
description = "Replace the instance if the instance user data changes"
type = bool
default = true
}
variable "encrypt_volumes" {
description = "Flag to enable encryption of volumes"
type = bool
default = true
}