alz/azuredevops/pipelines/bicep/templates/helpers/bicep-deploy.yaml [93:118]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
              WhatIf                = $whatIf
              Verbose               = $true
            }

            $retryCount = 0
            $retryMax = 10
            $initialRetryDelay = 20
            $retryDelayIncrement = 10
            $finalSuccess = $false

            while ($retryCount -lt $retryMax) {
              $retryAttempt = '{0:d2}' -f ($retryCount + 1)

              if($retryCount -gt 0) {
                $retryDelay = $initialRetryDelay + ($retryCount * $retryDelayIncrement)
                Write-Host "Retrying deployment with attempt number $retryAttempt after $retryDelay seconds..." -ForegroundColor Green
                Start-Sleep -Seconds $retryDelay
                Write-Host "Retrying deployment..." -ForegroundColor Green
              }

              $inputObject.DeploymentName = "$deploymentName-$retryAttempt"

              $result = $null

              try {
                if ($deploymentType -eq "tenant") {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



alz/github/actions/bicep/templates/actions/bicep-deploy/action.yaml [83:108]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            WhatIf                = $whatIf
            Verbose               = $true
          }

          $retryCount = 0
          $retryMax = 10
          $initialRetryDelay = 20
          $retryDelayIncrement = 10
          $finalSuccess = $false

          while ($retryCount -lt $retryMax) {
            $retryAttempt = '{0:d2}' -f ($retryCount + 1)

            if($retryCount -gt 0) {
              $retryDelay = $initialRetryDelay + ($retryCount * $retryDelayIncrement)
              Write-Host "Retrying deployment with attempt number $retryAttempt after $retryDelay seconds..." -ForegroundColor Green
              Start-Sleep -Seconds $retryDelay
              Write-Host "Retrying deployment..." -ForegroundColor Green
            }

            $inputObject.DeploymentName = "$deploymentName-$retryAttempt"

            $result = $null

            try {
              if ($deploymentType -eq "tenant") {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



