Skip to main content
The Terraform Plugin Log library provides structured logging capabilities for Terraform provider developers. Its documentation covers log levels, context-based logging, filtering, and integration with the Terraform Plugin Framework and SDK. It is versioned and stored in content/terraform-plugin-log/. The content API uses the terraform product slug. The navDataPath for this directory is plugin-log, and content is served under the /plugin/log/ URL base path.

Content directory

content/terraform-plugin-log/
├── v0.4.x/
├── v0.5.x/
├── v0.6.x/
├── v0.7.x/
├── v0.8.x/
├── v0.9.x/
└── v0.10.x/
Each version directory follows the standard structure:
content/terraform-plugin-log/<version>/
├── docs/            # Markdown content files
├── data/            # Navigation sidebar JSON files
└── img/             # Image assets

URL base paths

Terraform Plugin Log content is served under /plugin/log/.

Available versions

Versions v0.4.x through v0.10.x are present in the repository.
Terraform Plugin Log had a successful initial migration — all version directories should be accessible without known directory structure issues.

Finding and editing Plugin Log docs

1

Find the version directory

List the available version directories:
ls content/terraform-plugin-log/
2

Navigate to the content files

Content files are in the docs/ subdirectory within each version folder:
ls content/terraform-plugin-log/v0.10.x/docs/
3

Edit the file

Open the .mdx file you want to change.
4

Update navigation if needed

Navigation sidebar data is in content/terraform-plugin-log/<version>/data/.

Product configuration reference

AttributeValue
productSlugterraform
navDataPathplugin-log
contentDirdocs (in source repo)
websiteDirwebsite (in source repo)
dataDirdata
assetDirimg
basePathsplugin/log
versionedDocstrue

Build docs developers (and LLMs) love