test: set up NuGet in advance
This commit is contained in:
@@ -62,6 +62,7 @@ resource "coder_script" "windows-rdp" {
|
||||
|
||||
# Install the module with the specified version for all users
|
||||
# This requires administrator privileges
|
||||
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
|
||||
Install-Module -Name $moduleName -RequiredVersion $moduleVersion -Force
|
||||
|
||||
# Construct the module path for system-wide installation
|
||||
@@ -116,7 +117,7 @@ ${templatefile("${path.module}/devolutions-patch.js", {
|
||||
|
||||
EOF
|
||||
|
||||
run_on_start = true
|
||||
run_on_start = true
|
||||
}
|
||||
|
||||
resource "coder_app" "windows-rdp" {
|
||||
|
||||
Reference in New Issue
Block a user