-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
74 lines (62 loc) · 1.62 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
variable "ami_owner_id" {
description = "The AMI ID to use for the etcd cluster."
type = string
default = "amazon"
}
variable "ami_name_filter" {
description = "The name of the AMI to use for the etcd cluster."
type = string
default = "amzn2-ami-hvm*"
}
variable "ami_architecture" {
description = "The architecture of the AMI to use for the etcd cluster."
type = string
default = "x86_64"
}
variable "cluster_name" {
description = "The name of the etcd cluster."
type = string
}
variable "region" {
description = "The region in which to create the cluster."
type = string
default = "us-east-1"
}
variable "domain_name" {
description = "The domain to use for etcd DNS."
type = string
default = "etcd.local"
}
variable "node_count" {
description = "The number of nodes in the cluster."
type = number
default = 3
}
variable "tags" {
description = "The set of tags to place on the cluster."
type = map(string)
}
variable "vpc_id" {
description = "The ID of the VPC in which to create the etcd cluster."
type = string
}
variable "instance_type" {
description = "EC2 Instance Type"
type = string
default = "t3.small"
}
variable "disk_size" {
type = number
description = "Size of the EBS volume in GB"
default = 30
}
variable "disk_type" {
type = string
description = "Type of the EBS volume (e.g. standard, gp2, gp3, io1)"
default = "gp3"
}
variable "disk_iops" {
type = number
description = "IOPS of the EBS volume (e.g. 3000)"
default = 3000
}