-
Notifications
You must be signed in to change notification settings - Fork 0
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
Wrong links for non-official providers #116
Comments
I have the same issue. terraform {
required_version = "~> 1.10.0"
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "~> 0.69.0"
}
}
}
resource "proxmox_virtual_environment_download_file" "rocky9_qcow2" {
node_name = "proxmox-node"
datastore_id = "local"
url = "https://download.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2"
file_name = "Rocky-9-GenericCloud.latest.x86_64.qcow2"
content_type = "iso"
}
The canonical URL for the resources docs is https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_download_file |
Wow, sorry! I just noticed that the "HashiCorp Terraform" vscode extension is overriding the popover links, so that's why I couldn't duplicate it originally. If I paste into a So now exploring.. The data "aws_s3_bucket" "this" {} # "aws" provider
resource "proxmox_virtual_environment_download_file" "this" {} # "proxmox" provider The problem I see now is that the documentation urls require the
So while I can parse
I came up with something that naively builds a map of detected providers from a file by scanning for I do know that HashiCorp has support for generating the
But if I try non-hashicorp resources, such as the one you provided
So I'm not yet sure what to do next, as HashiCorp doesn't appear to have solved it either in their own extension for Partner Providers. Ideally they'd extend the existing link support they have for HashiCorp providers to Partner Providers as well. 🤔 Hmm, maybe I'm missing something? |
Thank you for your time and effort on this. I've yet to see a VSCode plugin handle this correctly. I wasn't aware the Hashicorp plugin had support for documentaton links, not that it helps here anyway. FWIW, JetBrain's Terraform plugin does pull up the correct docs for Partner/Community Providers. I think it's closed source however. |
Hi,
Since you closed the previous one, I need to create a new issue.
As I commented in #94, I did some extra tests. When I disable the extension I don't have any documentation links. I recreated your test with the following code:
And got the following extension output channel log:
The text was updated successfully, but these errors were encountered: