Skip to content

Commit

Permalink
Merge pull request #335 from ComputeCanada/azure_ssh_keys
Browse files Browse the repository at this point in the history
Add admin_ssh_key to ignore_changes list in Azure
  • Loading branch information
cmd-ntrf authored Nov 19, 2024
2 parents 0113ba8 + fc4fc65 commit 50073dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/infrastructure.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ resource "azurerm_linux_virtual_machine" "instances" {
username = "azure"
public_key = key.value
}

}

priority = contains(each.value["tags"], "spot") ? "Spot" : "Regular"
Expand All @@ -123,6 +122,7 @@ resource "azurerm_linux_virtual_machine" "instances" {
source_image_reference,
source_image_id,
custom_data,
admin_ssh_key,
]
}
}
Expand Down

0 comments on commit 50073dd

Please sign in to comment.