Skip to content

Commit ba99f98

Browse files
committed
Revert "Remove SSH key"
This reverts commit a156c07.
1 parent a156c07 commit ba99f98

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

scenarios/AksOpenAiTerraform/terraform/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ module "aks_cluster" {
160160
admin_group_object_ids = var.admin_group_object_ids
161161
azure_rbac_enabled = var.azure_rbac_enabled
162162
admin_username = var.admin_username
163+
ssh_public_key = var.ssh_public_key
163164
keda_enabled = var.keda_enabled
164165
vertical_pod_autoscaler_enabled = var.vertical_pod_autoscaler_enabled
165166
workload_identity_enabled = var.workload_identity_enabled
@@ -288,6 +289,7 @@ module "virtual_machine" {
288289
location = var.location
289290
public_ip = var.vm_public_ip
290291
vm_user = var.admin_username
292+
admin_ssh_public_key = var.ssh_public_key
291293
os_disk_image = var.vm_os_disk_image
292294
resource_group_name = azurerm_resource_group.rg.name
293295
subnet_id = module.virtual_network.subnet_ids[var.vm_subnet_name]

scenarios/AksOpenAiTerraform/terraform/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,11 @@ variable "admin_username" {
558558
default = "azadmin"
559559
}
560560

561+
variable "ssh_public_key" {
562+
description = "(Required) Specifies the SSH public key for the jumpbox virtual machine and AKS worker nodes."
563+
type = string
564+
}
565+
561566
variable "keda_enabled" {
562567
description = "(Optional) Specifies whether KEDA Autoscaler can be used for workloads."
563568
type = bool

0 commit comments

Comments
 (0)