Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #23 from FairwindsOps/do-ssh-key-change
Browse files Browse the repository at this point in the history
Update public key to be string directly given
  • Loading branch information
dosullivan committed Jan 15, 2021
2 parents 35cfa37 + 0040f3b commit d4df212
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aks_cluster/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "azurerm_kubernetes_cluster" "cluster" {
admin_username = var.admin_username

ssh_key {
key_data = file(var.public_ssh_key_path)
key_data = var.public_ssh_key
}
}

Expand Down
4 changes: 2 additions & 2 deletions aks_cluster/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ variable "pod_cidr" {
default = null
}

variable "public_ssh_key_path" {
variable "public_ssh_key" {
type = string
description = "The path to the ssh pub file, tied to the admin user in linux_profile"
description = "Public SSH key tied to the admin user in linux_profile"
}

variable "region" {
Expand Down

0 comments on commit d4df212

Please sign in to comment.