Skip to content

Consider setting TF_LOG=debug automatically if CODER_VERBOSE=true #6889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghuntley opened this issue Mar 30, 2023 · 1 comment
Closed

Consider setting TF_LOG=debug automatically if CODER_VERBOSE=true #6889

ghuntley opened this issue Mar 30, 2023 · 1 comment
Labels
stale This issue is like stale bread.

Comments

@ghuntley
Copy link
Contributor

ghuntley commented Mar 30, 2023

I needed to debug my workspace template. Through reading this source code I saw that TF_LOG is passed through. Thus reset my container to have environment of TF_LOG=debug and was able to troubleshoot.

What if CODER_VERBOSE=true would set TF_LOG=debug on the provisioner thus making troubleshooting instructions easier?

@BrunoQuaresma
Copy link
Collaborator

cc. @mtojek

@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 28, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale This issue is like stale bread.
Projects
None yet
Development

No branches or pull requests

2 participants