-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
54 lines (46 loc) · 1.1 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
variable "config" {
type = object({
environment = string
location = string
project_name = string
owner = string
team = string
})
description = "Global configuration items"
}
variable "crate" {
type = object({
heap_size_gb = number
cluster_name = string
cluster_size = number
ssl_enable = bool
})
default = {
heap_size_gb = 2
cluster_name = "CrateDB-Cluster"
cluster_size = 3
ssl_enable = true
}
description = "Configuration of the CrateDB application"
}
variable "vm" {
type = object({
user = string
disk_size_gb = number
storage_account_type = string
size = string
ssh_access = bool
})
default = {
user = "cratedb-vmadmin"
disk_size_gb = 500
storage_account_type = "Premium_LRS"
size = "Standard_DS12_v2"
ssh_access = true
}
description = "Configuration of the Azure VMs"
}
variable "subscription_id" {
type = string
description = "The Azure subscription ID"
}