-
Notifications
You must be signed in to change notification settings - Fork 69
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
bug: TypeSet/TypeList Elements are not rendered in data-sources #64
Comments
The description updates are not rendered in the documentation due to this bug: hashicorp/terraform-plugin-docs#64
EDIT: This problem might only affect providers using the Terraform Plugin SDKv2. I haven't checked with a provider using the Terraform Plugin Framework Unfortunately this also appears to affect resources. This issue is a downstream result of the Example in the current format (note, many of the "string" attributes have associated Descriptions, and they are missing here due to the strange format): "attributes": {
"builds": {
"type": [
"list",
[
"object",
{
"id": "string",
"images": [
"list",
[
"object",
{
"created_at": "string",
"id": "string",
"region": "string"
}
]
],
"labels": [
"map",
"string"
],
"updated_at": "string"
}
]
],
"description": "Builds for this iteration.",
"description_kind": "plain",
"computed": true
}
} If I'm reading the discussion in this PR correctly, it looks like the infrastructure exists in |
Current behavior
The descriptions of the nested elements are only rendered in the markdown of the
resources
, but not thedatasources
.See the rendered markdowns:
Expected behavior
The descriptions of the nested elements in
datasources
are also rendered in the markdown.Versions
v0.4.0
v2.6.1
The text was updated successfully, but these errors were encountered: