-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
120 lines (99 loc) · 2.3 KB
/
vars.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
locals {
description = "Resource created using terraform"
}
# --------------------------------------------------------
# This 'random_id_4' will make whatever you create (names, etc)
# unique in your account.
# --------------------------------------------------------
resource "random_id" "id" {
byte_length = 4
}
# --------------------------
# MongoDB variables
# --------------------------
variable "cluster_name_mongodb" {
type = string
default = "terraformFlinkDemo"
}
variable "database_mongodb" {
type = string
default = "confluent_flink_demo"
}
variable "username_mongodb" {
type = string
default = "mongodb-demo"
}
resource "random_password" "mongodb-password" {
length = 16
special = true
override_special = "#$-_=+"
}
variable "provider_name_mongodb" {
type = string
default = "TENANT"
}
variable "cloud_provider_mongodb" {
type = string
default = "AWS"
}
variable "cloud_region_mongodb" {
type = string
default = "US_EAST_1"
}
variable "provider_instance_size_name_mongodb" {
type = string
default = "M0"
}
# ----------------------------------------
# Confluent Cloud Kafka cluster variables
# ----------------------------------------
variable "cc_cloud_provider" {
type = string
default = "AWS"
}
variable "cc_cloud_region" {
type = string
default = "us-east-1"
}
variable "cc_env_name" {
type = string
default = "flink_demo_terraform"
}
variable "cc_cluster_name" {
type = string
default = "cc_demo_cluster"
}
variable "cc_availability" {
type = string
default = "SINGLE_ZONE"
}
# ------------------------------------------
# Confluent Cloud Schema Registry variables
# ------------------------------------------
variable "sr_cloud_provider" {
type = string
default = "AWS"
}
variable "sr_cloud_region" {
type = string
default = "us-east-2"
}
variable "sr_package" {
type = string
default = "ESSENTIALS"
}
# --------------------------------------------
# Confluent Cloud Flink Compute Pool variables
# --------------------------------------------
variable "cc_dislay_name" {
type = string
default = "standard_compute_pool"
}
variable "cc_compute_pool_name" {
type = string
default = "cc_demo_flink"
}
variable "cc_compute_pool_cfu" {
type = number
default = 5
}