From b56d2dab2e0e33a6d31e9fdfb63807d90540b132 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Mon, 29 Aug 2022 20:38:29 +0200 Subject: [PATCH] Shorten the display name for the Pulumi Registry so it lists under 't'. Signed-off-by: Ringo De Smet --- provider/cmd/pulumi-resource-time/schema.json | 2 +- provider/resources.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/provider/cmd/pulumi-resource-time/schema.json b/provider/cmd/pulumi-resource-time/schema.json index b1fcb2d..1f31557 100644 --- a/provider/cmd/pulumi-resource-time/schema.json +++ b/provider/cmd/pulumi-resource-time/schema.json @@ -1,6 +1,6 @@ { "name": "time", - "displayName": "Pulumi Time provider", + "displayName": "Time", "description": "A Pulumi package for creating and managing Time resources", "keywords": [ "pulumi", diff --git a/provider/resources.go b/provider/resources.go index cd7d3e1..19b9fb6 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -53,7 +53,7 @@ func Provider() tfbridge.ProviderInfo { Name: "time", // DisplayName is a way to be able to change the casing of the provider // name when being displayed on the Pulumi registry - DisplayName: "Pulumi Time provider", + DisplayName: "Time", // The default publisher for all packages is Pulumi. // Change this to your personal name (or a company name) that you // would like to be shown in the Pulumi Registry if this package is published @@ -73,7 +73,7 @@ func Provider() tfbridge.ProviderInfo { // category/cloud tag helps with categorizing the package in the Pulumi Registry. // For all available categories, see `Keywords` in // https://www.pulumi.com/docs/guides/pulumi-packages/schema/#package. - Keywords: []string{ + Keywords: []string{ "pulumi", "time", "category/utility", @@ -95,7 +95,7 @@ func Provider() tfbridge.ProviderInfo { // }, }, PreConfigureCallback: preConfigureCallback, - Resources: map[string]*tfbridge.ResourceInfo{ + Resources: map[string]*tfbridge.ResourceInfo{ // Map each resource in the Terraform provider to a Pulumi type. Two examples // are below - the single line form is the common case. The multi-line form is // needed only if you wish to override types or other default options.