You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where would you expect to find this documentation?
(either or both)
On terraform.io
In the GoDoc for this module
In this repo as a markdown file
Somewhere else
Details
Proper log handling in Terraform is complex! Between trying to understand that Terraform CLI uses the process stderr and not the gRPC stderr stream and the plethora of TF_LOG* environment variables that are available to control logging.
Description
Ideally, this documentation would start with the most common use cases with the interactions/configurations involved, then dive into deeper concepts:
Practitioners configuring logging for normal Terraform runs (this can/should be a link to terraform.io documentation)
Provider developers configuring logging for a test framework runs
SDK developers implementing logging in a SDK or test framework
@paddycarver drew up an excellent little whiteboard sketch that helps show the interaction between a test framework implementing this package and the various spun up processes and environment variables. It would be great to include diagrams like these as editable images in this repository.
bflad
changed the title
Create Design Documentation for Terraform Logging Functionality
Create terraform.io Documentation for Terraform Logging Functionality
Jan 4, 2022
We'll separately create "Logging" pages under SDKv2/Framework to capture special environment variables, logging keys, implementation details, etc for each framework.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Does this documenation exist?
Where would you expect to find this documentation?
(either or both)
Details
Proper log handling in Terraform is complex! Between trying to understand that Terraform CLI uses the process stderr and not the gRPC stderr stream and the plethora of
TF_LOG*
environment variables that are available to control logging.Description
Ideally, this documentation would start with the most common use cases with the interactions/configurations involved, then dive into deeper concepts:
@paddycarver drew up an excellent little whiteboard sketch that helps show the interaction between a test framework implementing this package and the various spun up processes and environment variables. It would be great to include diagrams like these as editable images in this repository.
References
The text was updated successfully, but these errors were encountered: