Skip to content
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

terraform_data resource is misdetected as part of the deprecated external hashicorp/terraform provider #757

Open
amaxine opened this issue Mar 14, 2024 · 0 comments
Labels

Comments

@amaxine
Copy link

amaxine commented Mar 14, 2024

Describe the bug

When using a terraform_data resource in a module and using terraform-docs to generate an updated README, the resource will be incorrectly linked to the registry docs, instead of Terraform documentation for this built-in resource type.

How can we reproduce it?

  1. Create configuration using a terraform_data resource, e.g. copy and pasting from the documentation
  2. Run terraform-docs against this configuration and verify that the generated README links to the incorrect documentation.

Environment information

  • terraform-docs version v0.17.0 linux/amd64
  • go version go1.21.6 linux/amd64
  • NixOS 24.05
@amaxine amaxine added the bug label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant