pulumi / pulumi-terraform-bridge

A library allowing Terraform providers to be bridged into Pulumi.
Apache License 2.0
200 stars 43 forks source link

import statement needs the long integer identifier for the tag key, not the name. #2154

Open buchs opened 1 year ago

buchs commented 1 year ago

File: themes/default/content/registry/packages/gcp/api-docs/tags/tagkey/_index.md

interurban commented 1 year ago

Thank you @buchs for flagging this issue; we're looking into it and the path to resolution.

cnunciato commented 5 months ago

Transferring to pulumi-terraform-bridge as it looks like this is related to content ingestion: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/tags_tag_value#import

VenelinMartinov commented 5 months ago

Thanks for the issue, can someone please add some more detail here?

Looking at the TF docs, the pulumi ones look very similar, what exactly is the problem?

mjeffryes commented 2 months ago

My best guess as to what this report is about is that there's a semantic collision between the name output from the resource and the name parameter in the constructor. The former is the "long integer identifier" mentioned in the title. The latter is pulumi specific (analogous to the TF block name, that's generally never mentioned in TF docs).

I'm not sure if there's something we could obviously be doing better though in the the docs translation.