forked from dineshk26/cofinity-x-cloud-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
101 lines (84 loc) · 2.82 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
97
98
99
100
101
variable "resource_group_location" {
description = "The Azure region location for the resource group. Should also be used to set the location of all other resources"
type = string
default = "germanywestcentral"
}
variable "cluster_name" {
description = "The name of the cluster/environment to create. Will be used in several resources like for example resource_group"
type = string
}
variable "dns_a_record_ttl" {
description = "The time to live (ttl) value in seconds"
type = number
default = 3600
}
variable "zone_name" {
description = "The name of the DNS zone, where the A record belongs to. I.e. demo.catena-x.net"
type = string
default = "demo.catena-x.net"
}
variable "dns_zone_resource_group_name" {
description = "The name of the resource group this A Record belongs to"
type = string
default = "cxtsi-demo-shared-rg"
}
variable "default_node_pool_name" {
description = "The name of the AKS cluster's default node pool"
type = string
default = "default"
}
variable "k8s_vm_size" {
description = "The Azure VM Size string i.e. Standard_D2_v2 or Standard_D8s_v3"
type = string
default = "Standard_D8s_v4"
}
variable "k8s_cluster_node_count" {
description = "The number of kubernetes nodes to create for the k8s cluster"
type = number
default = 3
}
variable "k8s_version" {
description = "AKS k8s Version to deploy"
type = string
default = ""1.28.9"
}
variable "enable_auto_scaling" {
description = "Whether auto scaling of the worker nodes are enabled"
type = bool
default = null
}
variable "max_count" {
description = "If auto scaling is enabled the maximum number of nodes in the pool"
type = number
default = null
}
variable "min_count" {
description = "If auto scaling is enabled the minimum number of nodes in the pool"
type = number
default = null
}
# Provider specific variables
variable "provider_service_principal_client_id" {
description = "The service principal client id to authenticate to Azure"
type = string
}
variable "provider_service_principal_client_secret" {
description = "The service principal client secret to authenticate to Azure"
type = string
}
variable "provider_azure_tenant_id" {
description = "The Azure tenant ID use"
type = string
}
variable "provider_azure_subscription_id" {
description = "The Azure subscription ID"
}
variable "provider_azure_dns_subscription_id" {
description = "The Azure subscription ID for the DNS entries. Only used, because DNS zone and AKS resources are in different subscriptions"
type = string
}
variable "public_ip_ddos_protection_mode" {
description = "The ddos_protection_mode for the public IP resource. 'Disabled' on default"
type = string
default = "Disabled"
}