-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
74 lines (59 loc) · 1.37 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 "cidr" {
description = "The CIDR block for the VPC."
default = "10.0.0.0/16"
}
variable "private_subnet_cidr" {
description = "The Private Subnet CIDR blocks for the VPC."
default = ["10.0.2.0/24", "10.0.1.0/24"]
}
variable "public_subnet_cidr" {
description = "The Public Subnet CIDR blocks for the VPC."
default = ["10.0.3.0/24", "10.0.4.0/24"]
}
variable "ec2_cassandra_instance_prefix" {
description = "Name prefix for ec2 instances"
default = "cassandra"
}
variable "region" {
default = "eu-central-1"
}
variable "keypair" {
description = "Keypair to use for EC2 Instances"
}
variable "keyfile" {
description = "Private key to use for ssh auth"
default = "~/.ssh/id_rsa"
}
variable "aws_profile" {
description = "Local aws profile to use for provisioning resoources"
default = "default"
}
variable "gateway_instance_type" {
default = "m5.xlarge"
}
variable "cassandra_instance_type" {
default = "m5.xlarge"
}
variable "ami_id" {
# Ubuntu 18.04 LTS - HVM-SSD
default = "ami-090f10efc254eaf55"
}
variable "cluster-name" {
default = "tank-cluster"
type = "string"
}
variable "cassandra_node_count" {
default = "3"
}
variable "number_of_cassandra_seeds" {
default = "2"
}
variable "bastion_disk_size" {
default = "25"
}
variable "cassandra_disk_size" {
default = "10"
}
variable "mapbox_key" {
default = ""
}