From 962e8211df18e9596b7f393556f8d2d9383c3661 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Fri, 6 Dec 2024 11:44:30 +0100 Subject: [PATCH] Set `.Repository` for un-parameterized dynamic providers (#2683) To be good citizens of the registry, we should set the `Repository` field. Related to https://github.com/pulumi/pulumi-terraform-bridge/pull/2664#discussion_r1866358177. --- dynamic/main.go | 1 + dynamic/testdata/TestSchemaGeneration/unparameterized.golden | 1 + 2 files changed, 2 insertions(+) diff --git a/dynamic/main.go b/dynamic/main.go index c3d264394..f9a148f02 100644 --- a/dynamic/main.go +++ b/dynamic/main.go @@ -49,6 +49,7 @@ func initialSetup() (info.Provider, pfbridge.ProviderMetadata, func() error) { P: proto.Empty(), Name: baseProviderName, Keywords: []string{"category/utility"}, + Repository: "https://github.com/pulumi/pulumi-terraform-provider", LogoURL: "https://raw.githubusercontent.com/pulumi/pulumi-terraform-provider/main/assets/logo.png", Version: version.Version(), Description: "Use any Terraform provider with Pulumi", diff --git a/dynamic/testdata/TestSchemaGeneration/unparameterized.golden b/dynamic/testdata/TestSchemaGeneration/unparameterized.golden index b5e661f17..8809cef0f 100644 --- a/dynamic/testdata/TestSchemaGeneration/unparameterized.golden +++ b/dynamic/testdata/TestSchemaGeneration/unparameterized.golden @@ -7,6 +7,7 @@ "category/utility" ], "license": "Apache-2.0", + "repository": "https://github.com/pulumi/pulumi-terraform-provider", "logoUrl": "https://raw.githubusercontent.com/pulumi/pulumi-terraform-provider/main/assets/logo.png", "meta": { "moduleFormat": "(.*)(?:/[^/]*)"