File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ function Invoke-TerraformInit
154154 throw " Terraform code not found: $CodePath "
155155 }
156156
157- _LogMessage - Level ' INFO' - Message " Running *terraform init ${InitArgs} * in: $CodePath " - InvocationName $inv
158157 Set-Location $CodePath
159158
160159 if ($CreateBackendKey -and $PSBoundParameters.ContainsKey (' StackFolderName' )) {
@@ -165,6 +164,8 @@ function Invoke-TerraformInit
165164 $InitArgs += " -backend-config=key=$backendKey "
166165 }
167166
167+ _LogMessage - Level ' INFO' - Message " Running *terraform init ${InitArgs} * in: $CodePath " - InvocationName $inv
168+
168169 & terraform init @InitArgs
169170 $code = $LASTEXITCODE
170171 _LogMessage - Level ' DEBUG' - Message " terraform init exit-code: $code " - InvocationName $inv
You can’t perform that action at this time.
0 commit comments