-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
96 lines (95 loc) · 1.9 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
# Configure the AWS Provider
variable "region" {
default = "us-east-1"
}
variable "dns_zone" {
# some.zone.io
default = "BLAHBLAH"
}
variable "name_prefix" {
default = "test"
}
variable "user_name" {
default = "test"
}
variable "key_name" {
default = "test_key"
}
variable "owner_email" {
default = "[email protected]"
}
variable "owner_name" {
default = "test"
}
variable "domain_name" {
default = "some.zone.io"
}
variable "ami" {
# AWS Linux 2023
default = {
owner = 137112412989
ami = "ami-06b21ccaeff8cd686"
name_regex = ""
}
}
variable "server_sets" {
description = "Describes specific settings for individual CP servers (count, type, .....)"
default = {
"zk" = {
count = 0,
size = "t3a.micro",
volume_size = 10,
dns_name = "zk"
volume_type = "gp2"
}
"kraft" = {
count = 3,
size = "t3a.micro",
volume_size = 10,
dns_name = "kraft"
volume_type = "gp2"
}
"broker" = {
count = 3,
size = "t3a.medium",
volume_size = 50,
dns_name = "kafka"
volume_type = "gp2"
}
"connect" = {
count = 0,
size = "t3a.medium",
volume_size = 40,
dns_name = "connect"
volume_type = "gp2"
}
"schemaregistry" = {
count = 0,
size = "t3a.small",
volume_size = 30,
dns_name = "schemaregistry"
volume_type = "gp2"
}
"restproxy" = {
count = 0,
size = "t3a.small",
volume_size = 10,
dns_name = "restproxy"
volume_type = "gp2"
}
"controlcenter" = {
count = 1,
size = "t3a.medium",
volume_size = 50,
dns_name = "controlcenter"
volume_type = "gp2"
}
"ksql" = {
count = 0,
size = "t3a.medium",
volume_size = 50,
dns_name = "ksql"
volume_type = "gp2"
}
}
}