Terraform step no longer generating output log

Hi Guys

It looks like the latest version of the Octopus Cloud stopped outputting the Terraform logs when running the plan or apply steps.

The change happened between the 10th and the 11th of May.

This is log I’m talking about:
azurerm_sql_server.azuresql: Creating…
azurerm_sql_server.azuresql: Still creating… (10s elapsed)
azurerm_sql_server.azuresql: Creation complete after 48s
azurerm_sql_elasticpool.azuresql: Creating…

All it does now is start and you can’t see what is actually happening until the deployment is complete.

I can see the command that the step run changed but it shouldn’t affect the log output not displaying.

This is the command that was run before:
terraform.exe apply -auto-approve -no-color -input=false

This is the command now:
“terraform.exe” apply -no-color -auto-approve

Hi Gert, thanks for getting in touch,

I have managed to reproduce this and have raised an issue which you can use to track progress. We should have a fix for this released soon and would like to apologize for any inconvenience this may be causing you.

As for the command line arguments changing, some of those settings have been moved into environment variables instead, so should behave the same. We also have another issue very closely related to the output of errors during deployments where Powershell is involved, especially if there is an error.

Please let us know if you have any questions or concerns,

Regards,
Shaun

Thank you Shaun I will track it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.