File tree Expand file tree Collapse file tree
src/ALZ/Private/Deploy-Accelerator-Helpers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ function Invoke-Terraform {
130130 $arguments += " $planFileName "
131131
132132 if (! $silent ) {
133- Write-ToConsoleLog " Running Apply Command for $action : $command $arguments " - IsSuccess
133+ Write-ToConsoleLog " Running Apply Command for $action : $command $arguments "
134134 & $command $arguments
135135 } else {
136136 & $command $arguments | Write-Verbose
@@ -157,7 +157,7 @@ function Invoke-Terraform {
157157 $arguments += " -destroy"
158158 }
159159
160- Write-ToConsoleLog " Running Apply Command for $action : $command $arguments " - IsSuccess
160+ Write-ToConsoleLog " Retry Attempt $ ( $currentAttempt ) of $ ( $maxAttempts ) : Running Apply Command for $action : $command $arguments "
161161 & $command $arguments
162162 $exitCode = $LASTEXITCODE
163163 }
@@ -170,7 +170,7 @@ function Invoke-Terraform {
170170 # Stop and display timer
171171 $StopWatch.Stop ()
172172 if (! $silent ) {
173- Write-ToConsoleLog " Time taken to complete Terraform apply:" - IsSuccess
173+ Write-ToConsoleLog " Time taken to complete Terraform apply:"
174174 }
175175 $StopWatch.Elapsed | Format-Table
176176
You can’t perform that action at this time.
0 commit comments