Is it not possible to add labels to things using t...
# google-cloud
m
Is it not possible to add labels to things using the
google-native
provider?
g
You should be able to add labels to resources on creation/modification with the native provider. What language are you working in? In Python with artifact registry, for example, there's a
labels
map option: https://www.pulumi.com/registry/packages/google-native/api-docs/artifactregistry/v1beta2/repository/#labels_python
m
I'm using Typescript
g
They're available in TypeScript: https://www.pulumi.com/registry/packages/google-native/api-docs/artifactregistry/v1beta2/repository/#labels_nodejs. Is there a resource you're specifically trying to tag that you can't find a label input?
There's a few things that don't allow labels
g
Ah, ok. This provider is in public preview (there's a note in https://www.pulumi.com/registry/packages/google-native/), so there's still some pieces that aren't implemented yet. They have to appear in the Google Cloud REST API before we can implement them, and I don't see labels in the discovery or the spec yet for the ones you have listed (e.g., https://cloud.google.com/compute/docs/reference/rest/v1/routers).
m
Cool, any chance you could look at why the connector needs a name, I don't see that in the spec, and it won't work with it
g
Looks like one of our engineers is looking into it (self-assigned on the issue)