ENHANCEMENTS:
- template functions: Added
split
to help separating a string into substrings (#70).
BUG FIXES:
- cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks (#99, #134).
- schemamd: Attribute
ID
is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema (#46, #134).
ENHANCEMENTS:
- cmd/tfplugindocs: Use existing Terraform CLI binary if available on PATH, otherwise download latest Terraform CLI binary (hashicorp#124).
- cmd/tfplugindocs: Added
tf-version
flag for specifying Terraform CLI binary version to download, superseding the PATH lookup (hashicorp#124).
BUG FIXES:
- cmd/tfplugindocs: Swapped
.Type
and.Name
resource and data source template fields so they correctly align (hashicorp#44). - schemamd: Switched attribute name rendering from bold text to code blocks so the Terraform Registry treats them as anchor links (hashicorp#59).
NOTES:
- dependencies:
github.com/hashicorp/terraform-exec
dependency has been updated to matchterraform-plugin-sdk
, which replaced the removedtfinstall
package withgithub.com/hashicorp/hc-install
. This will resolve Go build errors for projects that import bothterraform-plugin-docs
andterraform-plugin-sdk
.