-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
68 lines (58 loc) · 1.48 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
variable "create" {
description = "(Optional) Whether to create this resource or not"
type = "string"
default = true
}
variable "ebs_volumes" {
description = "(Optional) Number of EBS volumes to create"
type = "string"
default = 1
}
variable "azs" {
description = "(Required) The AZs where the EBS volume will exist"
type = "list"
}
variable "encrypted" {
description = "(Optional) If true, the disk will be encrypted"
type = "string"
default = false
}
variable "iops" {
description = "(Optional) The amount of IOPS to provision for the disk"
type = "string"
default = "100"
}
variable "size" {
description = "(Optional) The size of the drive in GiBs"
type = "string"
default = "20"
}
variable "snapshot_id" {
description = "(Optional) A snapshot to base the EBS volume off of"
type = "string"
default = ""
}
variable "type" {
description = "(Optional) The type of EBS volume"
type = "string"
default = "standard"
}
variable "kms_key_id" {
description = "(Optional) The ARN for the KMS encryption key"
type = "string"
default = ""
}
variable "ebs_volume_tags" {
description = "(Optional) A mapping of tags to assign to the resource"
type = "list"
default = [
{
Name = "ebs-volume"
}
]
}
variable "tags" {
description = "(Optional) A mapping of tags to assign to the resource"
type = "map"
default = {}
}