-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
113 lines (94 loc) · 2.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
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
######################
# ec2/variables.tf #
######################
variable "ami_id" {
description = "EC2 AMI id"
type = string
}
variable "disable_api_termination" {
description = "Termination protection"
type = bool
default = true
}
variable "eip" {
description = "Create elastic ip flag"
type = bool
default = false
}
variable "ebs_block_device" {
description = "EBS block device volume"
default = []
}
variable "ebs_optimized" {
description = "EBS optimization"
type = bool
default = null
}
variable "enable_ipv6" {
description = "Specifies whether to enable IPv6"
type = bool
default = false
}
variable "enable_volume_tags" {
description = "Whether to enable volume tags (if enabled it conflicts with root_block_device/ebs_block_device tags)"
type = bool
default = true
}
variable "instance_type" {
description = "Instance type"
type = string
default = "t3.nano"
}
variable "ipv6_address_count" {
description = "IPv6 address count"
type = number
default = 1
}
variable "key_name" {
description = "Instance key-pair name"
type = string
default = ""
}
variable "name" {
description = "Instance name for tag"
type = string
}
variable "root_block_device" {
description = "Customize details about the root block device of the instance. See Block Devices below for details"
type = list(any)
default = []
}
variable "subnet" {
description = "EC2 subnet group"
type = string
default = null
}
variable "security_group_ids" {
description = "Additional security groups or dont want to use default vpc security group and configure specific security group for instance"
type = list(any)
}
variable "snapshot_schedule_rule" {
description = "Snapshot creation rule"
type = any
default = {}
}
variable "source_dest_check" {
description = "Source destination check"
type = bool
default = true
}
variable "tags" {
description = "Tags"
type = map(any)
default = {}
}
variable "user_data" {
description = "EC2 user data or cloud init script"
type = string
default = ""
}
variable "vpc_id" {
description = "VPC id"
type = string
default = null
}