declared user & pwd as vars
This commit is contained in:
parent
da5efce177
commit
1bd62d28a8
@ -50,8 +50,8 @@ resource "azurerm_kubernetes_cluster" "aks" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
windows_profile {
|
windows_profile {
|
||||||
admin_username = "azureadmin"
|
admin_username = var.admin_username
|
||||||
admin_password = "Password0123!"
|
admin_password = var.admin_password
|
||||||
}
|
}
|
||||||
|
|
||||||
network_profile {
|
network_profile {
|
||||||
|
@ -21,3 +21,15 @@ variable "node_count_windows" {
|
|||||||
description = "The initial quantity of Windows nodes for the node pool."
|
description = "The initial quantity of Windows nodes for the node pool."
|
||||||
default = 1
|
default = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "admin_username" {
|
||||||
|
type = string
|
||||||
|
description = "The admin username for the Windows node pool."
|
||||||
|
default = "azureuser"
|
||||||
|
}
|
||||||
|
|
||||||
|
variable "admin_password" {
|
||||||
|
type = string
|
||||||
|
description = "The admin password for the Windows node pool."
|
||||||
|
default = "Passw0rd1234Us!"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user