-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
64 lines (57 loc) · 1.99 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
variable "name" {
description = "(Required) Cluster name."
type = string
}
variable "kafka_version_code" {
description = "(Required) Cloud Data Streaming Service version to be used."
type = string
}
variable "config_group_no" {
description = "(Required) ConfigGroup number to be used."
type = string
}
variable "vpc_no" {
description = "(Required) VPC number to be used."
type = string
}
variable "os_image" {
description = "(Required) OS type to be used."
type = string
}
variable "cmak" {
description = <<EOF
(Required) CMAK access information.
- user_name - (Required) CMAK access ID. Only lowercase alphanumeric characters and non-consecutive hyphens (-) allowed First character must be a letter, but the last character may be a letter or a number.
- user_password - (Required) CMAK access password. Must be at least 8 characters and contain at least one of each: English uppercase letter, lowercase letter, special character, and number.
EOF
type = object({
user_name = string
user_password = string
})
}
variable "manager_node" {
description = <<EOF
(Required) Manager node information.
- node_product_code - (Required) HW specifications of the manager node.
- subnet_no - (Required) Subnet number where the manager node is to be located.
EOF
type = object({
node_product_code = string
subnet_no = string
})
}
variable "broker_nodes" {
description = <<EOF
(Required) Broker node information.
- node_product_code - (Required) HW specifications of the broker node.
- subnet_no - (Required) Subnet number where the broker node is to be located.
- node_count - (Required) Number of broker nodes. At least 3 units, up to 10 units allowed.
- storage_size - (Required) Broker node storage capacity. At least 100 GB, up to 2000 GB. Must be in units of 10 GB.
EOF
type = object({
node_product_code = string
subnet_no = string
node_count = number
storage_size = number
})
}