-
Notifications
You must be signed in to change notification settings - Fork 2
/
variables.tf
104 lines (81 loc) · 2.39 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
variable "instance_name" {
description = "The value to use for the Name tag of the EC2 instance"
}
variable "application_name" {
description = "The name of the application."
}
variable "environment" {
description = "The name of the environment."
}
variable "ami_id" {
description = "AMI to use for the instance."
}
variable "ec2_instance_type" {
description = "Type of instance ec2"
}
variable "iam_profile" {
description = "The IAM profile to attach to the ec2 instance."
default = null
}
variable "root_volume_size" {
description = "Root EBS volume size"
}
variable "data_volume_size" {
description = "Data EBS volume size"
}
variable "ebs_volume_type" {
description = "EBS volume type"
}
variable "ebs_encrypted" {
description = "EBS is encrypted"
}
variable "ebs_kms_key_id" {
description = "KMS key used to encrypt/decrypt EBS"
}
variable "ebs_delete_on_termination" {
description = "EBS delete on termination"
}
variable "subnet_node_cidr_block" {
description = "The cidr block to use for the node subnet."
}
variable "subnet_client_cidr_block" {
description = "The cidr block to use for the client subnet."
}
variable "use_elastic_ips" {
description = "The cidr block to use for the client subnet."
type = bool
}
variable "ssh_source_address" {
description = "The source IP address for SSH connections, in CIDR notation."
}
variable "client_port" {
description = "The port, within the indy range of 9700 to 9799, on which the client interface will listen."
default = "9702"
}
variable "node_port" {
description = "The port, within the indy range of 9700 to 9799, on which the node interface will listen."
default = "9701"
}
variable "vpc_node_cidr_block" {
description = "VPC IP CIDR"
}
variable "ssh_key_name" {
description = "Name of the EC2 ssh public key to use to ssh in"
}
variable "zone" {
description = "Availability zone where to deploy the VM"
}
variable "http_tokens" {
description = "Whether or not the instance metadata service requires session tokens (IMDSv2). Valid values include 'optional' or 'required'."
default = "required"
}
variable "http_endpoint" {
description = "Whether the metadata service is available. Valid values include enabled or disabled."
default = "enabled"
}
variable "opt_ec2_tags" {
description = "Allows to add optional tags to EC2 vm's"
type = map(string)
default = {
}
}