diff --git a/windows-rdp/main.tf b/windows-rdp/main.tf index dafae70..7d95ec2 100644 --- a/windows-rdp/main.tf +++ b/windows-rdp/main.tf @@ -96,11 +96,11 @@ resource "coder_script" "windows-rdp" { # Always copy the file in case we change it. @' - ${templatefile("${path.module}/devolutions-patch.js", { - CODER_USERNAME : var.admin_username, - CODER_PASSWORD : var.admin_password, - })} - '@ | Set-Content "$root\coder.js" +${templatefile("${path.module}/devolutions-patch.js", { + CODER_USERNAME : var.admin_username, + CODER_PASSWORD : var.admin_password, +})} +'@ | Set-Content "$root\coder.js" # Only inject the src if we have not before. $isPatched = Select-String -Path "$devolutionsHtml" -Pattern "$patch"