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 {
|
||||
admin_username = "azureadmin"
|
||||
admin_password = "Password0123!"
|
||||
admin_username = var.admin_username
|
||||
admin_password = var.admin_password
|
||||
}
|
||||
|
||||
network_profile {
|
||||
|
@ -20,4 +20,16 @@ variable "node_count_windows" {
|
||||
type = number
|
||||
description = "The initial quantity of Windows nodes for the node pool."
|
||||
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