From 1d80e91b0db1e9fc02bb53daa4474892e36b6ef0 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Tue, 17 Dec 2024 17:48:46 +0100 Subject: [PATCH] Set `.DisplayName` in `tfbridge.ProviderInfo` (#2745) This PR is part of pulumi/registry#4672. The display name used was taken from `github.com/pulumi/registry/tools/resourcedocsgen/pkg/lookup.go`. --- provider/cmd/pulumi-resource-gcp/schema.json | 1 + provider/resources.go | 1 + 2 files changed, 2 insertions(+) diff --git a/provider/cmd/pulumi-resource-gcp/schema.json b/provider/cmd/pulumi-resource-gcp/schema.json index e677a29d2a..e3791b1b69 100644 --- a/provider/cmd/pulumi-resource-gcp/schema.json +++ b/provider/cmd/pulumi-resource-gcp/schema.json @@ -1,5 +1,6 @@ { "name": "gcp", + "displayName": "Google Cloud Classic", "description": "A Pulumi package for creating and managing Google Cloud Platform resources.", "keywords": [ "pulumi", diff --git a/provider/resources.go b/provider/resources.go index 89af6c35a0..8e3966c580 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -482,6 +482,7 @@ func Provider() tfbridge.ProviderInfo { prov := tfbridge.ProviderInfo{ P: p, Name: "google-beta", + DisplayName: "Google Cloud Classic", ResourcePrefix: "google", GitHubOrg: "hashicorp", Description: "A Pulumi package for creating and managing Google Cloud Platform resources.",