You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few days ago I encountered a problem when I wanted to use a workspace specific Parameter file. What happens is that when I run the workflow it fails the deployment due to missing parameter files. After some Debugging I found the problem.
The problamatic code can be found in the second line of the AttemptDeployment function:
function AttemptDeployment($path, $parameterFile, $deploymentName, $templateObject) {
Write-Host "[Info] Deploying $path with deployment name $deploymentName"
$isValid = IsValidTemplate $path $templateObject <-- this line
if (-not $isValid) {
return $false
}
...
Looking at the line or inside the IsValidTemplate function we can see that it doesn't obtain the parameter file that goes with the given template.
To fix this you need to modify the script a bit: IsValidTemplate
Hello,
A few days ago I encountered a problem when I wanted to use a workspace specific Parameter file. What happens is that when I run the workflow it fails the deployment due to missing parameter files. After some Debugging I found the problem.
The problamatic code can be found in the second line of the
AttemptDeployment
function:Looking at the line or inside the
IsValidTemplate
function we can see that it doesn't obtain the parameter file that goes with the given template.To fix this you need to modify the script a bit:
IsValidTemplate
AttemptDeployment
I have no clue where I can report this bug so I just post it here.
The text was updated successfully, but these errors were encountered: