This repository has been archived by the owner on Feb 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
91 lines (73 loc) · 2.16 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
#
## Global variables used in many modules
#
variable "environment" {
default = "development"
}
variable "location" {
default = "West Europe"
}
variable "project_name" {
default = "kuksatrng"
}
#
## Terraform Shared State -module related variables
#
# NOTE:
# Since storage for Terraform Shared State cannot be created in the
# same Terraform script that creates K8S resources, these variables are
# also defined in './modules/tfstate_storage_azure/variables.tf'.
# If you already have a storage for Terraform Shared State, you can
# change these variables to match your configuration.
# If you plan to customize these variables when creating storage for
# Terraform Shared State with './modules/tfstate_storage_azure/main.tf',
# you must also change the variables in
# './modules/tfstate_storage_azure/variables.tf'.
variable "tfstate_resource_group_name_suffix" {
default = "tfstate-rg"
}
# 'name' must be unique across the entire Azure service,
# not just within the resource group.
# 'name' can only consist of lowercase letters and numbers,
# and must be between 3 and 24 characters long.
variable "tfstate_storage_account_name_suffix" {
default = "tfstatesa"
}
variable "tfstate_container_name" {
default = "tfstate"
}
#
## Azure Kubernetes Service -module related variables
#
variable "k8s_agent_count" {
default = 3
}
# variable "k8s_ssh_public_key" {
# default = "~/.ssh/id_rsa.pub"
# }
variable "k8s_dns_prefix" {
default = "k8stest"
}
variable "k8s_resource_group_name_suffix" {
default = "k8stest-rg"
}
variable "k8s_cluster_name_suffix" {
default = "k8stest-cluster"
}
variable "log_analytics_workspace_name" {
default = "testLogAnalyticsWorkspaceName"
}
# refer https://azure.microsoft.com/global-infrastructure/services/?products=monitor for log analytics available regions
variable "log_analytics_workspace_location" {
default = "westeurope"
}
# refer https://azure.microsoft.com/pricing/details/monitor/ for log analytics pricing
variable "log_analytics_workspace_sku" {
default = "PerGB2018"
}
variable cluster_name {
default = "k8stest"
}
variable resource_group_name {
default = "azure-k8stest"
}