[enhancement] Remove the debugging output emitted by default
Closed this issue · 5 comments
Problem
The debugging logs will be emitted by default. For example:
Plan: 1 to add, 0 to change, 0 to destroy.
neon_project.this: Creating...
neon_project.this: Creation complete after 1s [id=blue-cloud-40428863]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
::debug::OpenTofu exited with code 0.
Proposed Solution
Make debugging logs optional. They could be activated following the github instructions.
I wasted an hour of debugging to understand that my tofu output -raw xxx
was polluted by a debug output in my Github Action. I still haven't managed to disable it, do you have a quick solution please? Thanks
I just found a workaround with terraform_wrapper: false
if it can help someone
I agree that this should be addressed, I believe a PR to this end would be welcome.
I would like to address this issue. Based on my understanding, we can introduce a new input parameter for ACTIONS_STEP_DEBUG
, with a default value of false
. Then, ACTIONS_STEP_DEBUG
can be added to all Setup OpenTofu
steps.
Thanks @siddharthasonker95 I've assigned you, your suggested solution sounds good.