-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvariables.tf
More file actions
107 lines (83 loc) · 2.41 KB
/
Copy pathvariables.tf
File metadata and controls
107 lines (83 loc) · 2.41 KB
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
# -----------------------------------------------------------------------------
# Azure auth - service principal - autentifikacia do azure
# -----------------------------------------------------------------------------
variable "subscription_id" {
default = ""
}
variable "tenant_id" {
default = ""
}
variable "client_id" {
default = ""
}
variable "client_secret" {
}
# -----------------------------------------------------------------------------
# Globalne nastavenia projektu
# -----------------------------------------------------------------------------
variable "location" {
description = "Pouzije sa na vytvorenie resource_group, ostatne resouces dedia tieto nastavenia."
default = "northeurope"
}
variable "resource_group" {
description = "Nazov resource groupy"
default = "demo"
}
variable "environment" {
description = "Identifikator prostredia."
default = "pre-prod"
}
variable "resource_name" {
description = "Vyskladava prefix v name resources."
default = ""
}
variable "service_tag" {
description = "Tag pre resourcy o ake sluzby sa jedna"
default = "kubernetes"
}
# -----------------------------------------------------------------------------
# K8s nastavenia
# -----------------------------------------------------------------------------
variable "dns_prefix" {
description = "Prefix pre vytvorenie dns zaznamov"
default = "demo"
}
variable "k8s_admin" {
description = "Service principal pre AKS"
}
variable "k8s_pass" {
description = "Service principal pre AKS"
}
variable "name" {
description = "Nazov nodov"
default = "default"
}
variable "node_count" {
description = "Pocet nodov v clustry"
default = 2
}
variable "vm_size" {
description = "Sizing pouzity pre nody"
default = "Standard_DS2_v2"
}
variable "os_disk_size" {
description = "Velkost disku pre cluster"
default = 30
}
variable "api_server_authorized_ip_ranges" {
description = "Rozsah povolenych ip pre public pristup"
}
# -----------------------------------------------------------------------------
# Logging a monitoring
# -----------------------------------------------------------------------------
# variable "solution_name" {
# default = "ContainerInsights"
# }
# variable "log_analytics_workspace_name" {
# }
# variable "log_analytics_workspace_location" {
# default = "northeurope"
# }
# variable "log_analytics_workspace_sku" {
# default = "PerNode"
# }