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

Add 'data source' and 'resource' to Terraform entries #2379

Open
tomdaly opened this issue Dec 6, 2024 · 1 comment
Open

Add 'data source' and 'resource' to Terraform entries #2379

tomdaly opened this issue Dec 6, 2024 · 1 comment
Labels

Comments

@tomdaly
Copy link

tomdaly commented Dec 6, 2024

Feature request

Problem Summary

when searching for Terraform resources, e.g. aws_ecs_task_definition, it's difficult to tell which is the 'data source' entry and which is the 'resource' entry:

this can make it significantly harder to use DevDocs for finding Terraform docs, as opposed to the official Terraform docs which denote the different resource based on a kind of 'directory' structure:

Proposed Solution

add (resource) and (data source) suffixes to the respective listings for Terraform entries:


happy to create a PR to implement this! would appreciate any pointers for starting files as I haven't contributed to the repo before :)

@tomdaly tomdaly added the feature label Dec 6, 2024
@tomdaly
Copy link
Author

tomdaly commented Dec 6, 2024

if this is a wanted feature -- I think this might do it? tomdaly@e3bd162

not exactly sure how the Resource: prefix is already being stripped from the doc's h1 element (e.g. https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecs_task_definition)

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