alz/github/actions/bicep/templates/actions/bicep-deploy/action.yaml [149:173]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            } else {
              $resultId = $result.Id
            }

            $resultIdEscaped = $resultId.Replace("/", "%2F")
            $resultUrl = "https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/$resultIdEscaped"

            Write-Host "Deployment Name: $deploymentName"
            Write-Host "Deployment ID: $resultId"
            Write-Host "Deployment Url: $resultUrl"
            $result | Format-List | Out-Host

            if($result.ProvisioningState -ne "Succeeded") {
              Write-Host "Deployment failed with unsuccessful provisioning state, this is likely an intermittent failure so entering retry loop..." -ForegroundColor Red
              $retryCount++
            } else {
              $finalSuccess = $true
              break
            }
          }

          if($finalSuccess -eq $false) {
            Write-Error "Deployment failed after $retryMax attempts..."
            exit 1
          }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



