зеркало из https://github.com/Azure/terraform.git
54 строки
1.2 KiB
HCL
54 строки
1.2 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 "log_analytics_workspace_name" {
|
|
default = "testLogAnalyticsWorkspaceName"
|
|
}
|
|
|
|
# Refer to https://azure.microsoft.com/global-infrastructure/services/?products=monitor for available Log Analytics regions.
|
|
variable "log_analytics_workspace_location" {
|
|
default = "eastus"
|
|
}
|
|
|
|
# Refer to https://azure.microsoft.com/pricing/details/monitor/ for Log Analytics pricing
|
|
variable "log_analytics_workspace_sku" {
|
|
default = "PerGB2018"
|
|
}
|
|
|
|
# The following three variable declarations are placeholder references.
|
|
# Set the values for these variable in terraform.tfvars
|
|
variable "aks_service_principal_app_id" {
|
|
default = ""
|
|
}
|
|
|
|
variable "aks_service_principal_client_secret" {
|
|
default = ""
|
|
}
|
|
|
|
variable "aks_service_principal_object_id" {
|
|
default = ""
|
|
}
|