61 lines
1.3 KiB
HCL
61 lines
1.3 KiB
HCL
variable "resource_group_name_prefix" {
|
|
default = "rg"
|
|
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
|
|
}
|
|
|
|
variable "resource_group_location" {
|
|
default = "eastus"
|
|
description = "Location of the resource group."
|
|
}
|
|
|
|
variable "agent_count" {
|
|
default = 3
|
|
}
|
|
|
|
variable "ssh_public_key" {
|
|
default = "~/.ssh/id_rsa.pub"
|
|
}
|
|
|
|
variable "dns_prefix" {
|
|
default = "k8stest"
|
|
}
|
|
|
|
variable "cluster_name" {
|
|
default = "k8stest"
|
|
}
|
|
|
|
variable "resource_group_name" {
|
|
default = "azure-k8stest"
|
|
}
|
|
|
|
variable "location" {
|
|
default = "Central US"
|
|
}
|
|
|
|
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 = "eastus"
|
|
}
|
|
|
|
# refer https://azure.microsoft.com/pricing/details/monitor/ for log analytics pricing
|
|
variable "log_analytics_workspace_sku" {
|
|
default = "PerGB2018"
|
|
}
|
|
|
|
# these following three entries are placeholder references; we will specify values later in terraform.tfvars
|
|
variable "aks_service_principal_app_id" {
|
|
default = ""
|
|
}
|
|
|
|
variable "aks_service_principal_client_secret" {
|
|
default = ""
|
|
}
|
|
|
|
variable "aks_service_principal_object_id" {
|
|
default = ""
|
|
}
|
|
|