Skip to content

Commit ab8e11e

Browse files
authored
Merge pull request #162 from Barts-Life-Science/reapply-encryption-at-host
Re-apply encryption-at-host fix (was PR 124)
2 parents 71e11f0 + 5e2cefc commit ab8e11e

File tree

4 files changed

+4
-0
lines changed
  • templates/workspace_services/guacamole/user_resources

4 files changed

+4
-0
lines changed

templates/workspace_services/guacamole/user_resources/guacamole-azure-export-reviewvm/terraform/windowsvm.tf

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ resource "azurerm_windows_virtual_machine" "windowsvm" {
124124
allow_extension_operations = true
125125
admin_username = random_string.username.result
126126
admin_password = random_password.password.result
127+
encryption_at_host_enabled = true
127128

128129
custom_data = base64encode(data.template_file.download_review_data_script.rendered)
129130

templates/workspace_services/guacamole/user_resources/guacamole-azure-import-reviewvm/terraform/windowsvm.tf

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ resource "azurerm_windows_virtual_machine" "windowsvm" {
4545
allow_extension_operations = true
4646
admin_username = random_string.username.result
4747
admin_password = random_password.password.result
48+
encryption_at_host_enabled = true
4849

4950
custom_data = base64encode(data.template_file.download_review_data_script.rendered)
5051

templates/workspace_services/guacamole/user_resources/guacamole-azure-linuxvm/terraform/linuxvm.tf

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ resource "azurerm_linux_virtual_machine" "linuxvm" {
4444
disable_password_authentication = false
4545
admin_username = random_string.username.result
4646
admin_password = random_password.password.result
47+
encryption_at_host_enabled = true
4748

4849
custom_data = data.template_cloudinit_config.config.rendered
4950

templates/workspace_services/guacamole/user_resources/guacamole-azure-windowsvm/terraform/windowsvm.tf

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ resource "azurerm_windows_virtual_machine" "windowsvm" {
4545
allow_extension_operations = true
4646
admin_username = random_string.username.result
4747
admin_password = random_password.password.result
48+
encryption_at_host_enabled = true
4849

4950
custom_data = base64encode(templatefile(
5051
"${path.module}/vm_config.ps1", {

0 commit comments

Comments
 (0)