From 865ecaaadfebe3f5c59d4b0c83dc3804168439ce Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Tue, 17 Dec 2024 16:33:22 +0100 Subject: [PATCH] Set the `.DisplayName` pulumi/registry#4672 --- provider/cmd/pulumi-resource-cloudamqp/schema.json | 1 + provider/resources.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/provider/cmd/pulumi-resource-cloudamqp/schema.json b/provider/cmd/pulumi-resource-cloudamqp/schema.json index 7ea842b6..68e271dc 100644 --- a/provider/cmd/pulumi-resource-cloudamqp/schema.json +++ b/provider/cmd/pulumi-resource-cloudamqp/schema.json @@ -1,5 +1,6 @@ { "name": "cloudamqp", + "displayName": "CloudAMQP", "description": "A Pulumi package for creating and managing CloudAMQP resources.", "keywords": [ "pulumi", diff --git a/provider/resources.go b/provider/resources.go index 8c8f7e36..b679ebe3 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -43,10 +43,10 @@ func makeResource(res string) tokens.Type { return tfbridge.MakeResource(mainPkg func ref[T any](t T) *T { return &t } func Provider() tfbridge.ProviderInfo { - p := shimv2.NewProvider(cloudamqp.Provider("", http.DefaultClient)) prov := tfbridge.ProviderInfo{ - P: p, + P: shimv2.NewProvider(cloudamqp.Provider("", http.DefaultClient)), Name: "cloudamqp", + DisplayName: "CloudAMQP", GitHubOrg: "cloudamqp", Description: "A Pulumi package for creating and managing CloudAMQP resources.", Keywords: []string{"pulumi", "cloudamqp"},